Skip to content

Type definitions#

Index > MainframeModernization > Type definitions

Auto-generated documentation for MainframeModernization type annotations stubs module mypy-boto3-m2.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AlternateKeyTypeDef#

# AlternateKeyTypeDef definition

class AlternateKeyTypeDef(TypedDict):
    length: int,
    offset: int,
    allowDuplicates: NotRequired[bool],
    name: NotRequired[str],

ApplicationSummaryTypeDef#

# ApplicationSummaryTypeDef definition

class ApplicationSummaryTypeDef(TypedDict):
    applicationArn: str,
    applicationId: str,
    applicationVersion: int,
    creationTime: datetime,
    engineType: EngineTypeType,  # (2)
    name: str,
    status: ApplicationLifecycleType,  # (3)
    deploymentStatus: NotRequired[ApplicationDeploymentLifecycleType],  # (1)
    description: NotRequired[str],
    environmentId: NotRequired[str],
    lastStartTime: NotRequired[datetime],
    roleArn: NotRequired[str],
    versionStatus: NotRequired[ApplicationVersionLifecycleType],  # (4)
  1. See ApplicationDeploymentLifecycleType
  2. See EngineTypeType
  3. See ApplicationLifecycleType
  4. See ApplicationVersionLifecycleType

ApplicationVersionSummaryTypeDef#

# ApplicationVersionSummaryTypeDef definition

class ApplicationVersionSummaryTypeDef(TypedDict):
    applicationVersion: int,
    creationTime: datetime,
    status: ApplicationVersionLifecycleType,  # (1)
    statusReason: NotRequired[str],
  1. See ApplicationVersionLifecycleType

FileBatchJobDefinitionTypeDef#

# FileBatchJobDefinitionTypeDef definition

class FileBatchJobDefinitionTypeDef(TypedDict):
    fileName: str,
    folderPath: NotRequired[str],

ScriptBatchJobDefinitionTypeDef#

# ScriptBatchJobDefinitionTypeDef definition

class ScriptBatchJobDefinitionTypeDef(TypedDict):
    scriptName: str,

FileBatchJobIdentifierTypeDef#

# FileBatchJobIdentifierTypeDef definition

class FileBatchJobIdentifierTypeDef(TypedDict):
    fileName: str,
    folderPath: NotRequired[str],

ScriptBatchJobIdentifierTypeDef#

# ScriptBatchJobIdentifierTypeDef definition

class ScriptBatchJobIdentifierTypeDef(TypedDict):
    scriptName: str,

CancelBatchJobExecutionRequestRequestTypeDef#

# CancelBatchJobExecutionRequestRequestTypeDef definition

class CancelBatchJobExecutionRequestRequestTypeDef(TypedDict):
    applicationId: str,
    executionId: str,

DefinitionTypeDef#

# DefinitionTypeDef definition

class DefinitionTypeDef(TypedDict):
    content: NotRequired[str],
    s3Location: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

CreateDeploymentRequestRequestTypeDef#

# CreateDeploymentRequestRequestTypeDef definition

class CreateDeploymentRequestRequestTypeDef(TypedDict):
    applicationId: str,
    applicationVersion: int,
    environmentId: str,
    clientToken: NotRequired[str],

HighAvailabilityConfigTypeDef#

# HighAvailabilityConfigTypeDef definition

class HighAvailabilityConfigTypeDef(TypedDict):
    desiredCapacity: int,

ExternalLocationTypeDef#

# ExternalLocationTypeDef definition

class ExternalLocationTypeDef(TypedDict):
    s3Location: NotRequired[str],

DataSetImportSummaryTypeDef#

# DataSetImportSummaryTypeDef definition

class DataSetImportSummaryTypeDef(TypedDict):
    failed: int,
    inProgress: int,
    pending: int,
    succeeded: int,
    total: int,

DataSetSummaryTypeDef#

# DataSetSummaryTypeDef definition

class DataSetSummaryTypeDef(TypedDict):
    dataSetName: str,
    creationTime: NotRequired[datetime],
    dataSetOrg: NotRequired[str],
    format: NotRequired[str],
    lastReferencedTime: NotRequired[datetime],
    lastUpdatedTime: NotRequired[datetime],

RecordLengthTypeDef#

# RecordLengthTypeDef definition

class RecordLengthTypeDef(TypedDict):
    max: int,
    min: int,

GdgDetailAttributesTypeDef#

# GdgDetailAttributesTypeDef definition

class GdgDetailAttributesTypeDef(TypedDict):
    limit: NotRequired[int],
    rollDisposition: NotRequired[str],

PoDetailAttributesTypeDef#

# PoDetailAttributesTypeDef definition

class PoDetailAttributesTypeDef(TypedDict):
    encoding: str,
    format: str,

PsDetailAttributesTypeDef#

# PsDetailAttributesTypeDef definition

class PsDetailAttributesTypeDef(TypedDict):
    encoding: str,
    format: str,

GdgAttributesTypeDef#

# GdgAttributesTypeDef definition

class GdgAttributesTypeDef(TypedDict):
    limit: NotRequired[int],
    rollDisposition: NotRequired[str],

PoAttributesTypeDef#

# PoAttributesTypeDef definition

class PoAttributesTypeDef(TypedDict):
    format: str,
    memberFileExtensions: Sequence[str],
    encoding: NotRequired[str],

PsAttributesTypeDef#

# PsAttributesTypeDef definition

class PsAttributesTypeDef(TypedDict):
    format: str,
    encoding: NotRequired[str],

DeleteApplicationFromEnvironmentRequestRequestTypeDef#

# DeleteApplicationFromEnvironmentRequestRequestTypeDef definition

class DeleteApplicationFromEnvironmentRequestRequestTypeDef(TypedDict):
    applicationId: str,
    environmentId: str,

DeleteApplicationRequestRequestTypeDef#

# DeleteApplicationRequestRequestTypeDef definition

class DeleteApplicationRequestRequestTypeDef(TypedDict):
    applicationId: str,

DeleteEnvironmentRequestRequestTypeDef#

# DeleteEnvironmentRequestRequestTypeDef definition

class DeleteEnvironmentRequestRequestTypeDef(TypedDict):
    environmentId: str,

DeployedVersionSummaryTypeDef#

# DeployedVersionSummaryTypeDef definition

class DeployedVersionSummaryTypeDef(TypedDict):
    applicationVersion: int,
    status: DeploymentLifecycleType,  # (1)
    statusReason: NotRequired[str],
  1. See DeploymentLifecycleType

DeploymentSummaryTypeDef#

# DeploymentSummaryTypeDef definition

class DeploymentSummaryTypeDef(TypedDict):
    applicationId: str,
    applicationVersion: int,
    creationTime: datetime,
    deploymentId: str,
    environmentId: str,
    status: DeploymentLifecycleType,  # (1)
    statusReason: NotRequired[str],
  1. See DeploymentLifecycleType

EfsStorageConfigurationTypeDef#

# EfsStorageConfigurationTypeDef definition

class EfsStorageConfigurationTypeDef(TypedDict):
    fileSystemId: str,
    mountPoint: str,

EngineVersionsSummaryTypeDef#

# EngineVersionsSummaryTypeDef definition

class EngineVersionsSummaryTypeDef(TypedDict):
    engineType: str,
    engineVersion: str,

EnvironmentSummaryTypeDef#

# EnvironmentSummaryTypeDef definition

class EnvironmentSummaryTypeDef(TypedDict):
    creationTime: datetime,
    engineType: EngineTypeType,  # (1)
    engineVersion: str,
    environmentArn: str,
    environmentId: str,
    instanceType: str,
    name: str,
    status: EnvironmentLifecycleType,  # (2)
  1. See EngineTypeType
  2. See EnvironmentLifecycleType

FsxStorageConfigurationTypeDef#

# FsxStorageConfigurationTypeDef definition

class FsxStorageConfigurationTypeDef(TypedDict):
    fileSystemId: str,
    mountPoint: str,

GetApplicationRequestRequestTypeDef#

# GetApplicationRequestRequestTypeDef definition

class GetApplicationRequestRequestTypeDef(TypedDict):
    applicationId: str,

LogGroupSummaryTypeDef#

# LogGroupSummaryTypeDef definition

class LogGroupSummaryTypeDef(TypedDict):
    logGroupName: str,
    logType: str,

GetApplicationVersionRequestRequestTypeDef#

# GetApplicationVersionRequestRequestTypeDef definition

class GetApplicationVersionRequestRequestTypeDef(TypedDict):
    applicationId: str,
    applicationVersion: int,

GetBatchJobExecutionRequestRequestTypeDef#

# GetBatchJobExecutionRequestRequestTypeDef definition

class GetBatchJobExecutionRequestRequestTypeDef(TypedDict):
    applicationId: str,
    executionId: str,

JobStepRestartMarkerTypeDef#

# JobStepRestartMarkerTypeDef definition

class JobStepRestartMarkerTypeDef(TypedDict):
    fromStep: str,
    fromProcStep: NotRequired[str],
    toProcStep: NotRequired[str],
    toStep: NotRequired[str],

GetDataSetDetailsRequestRequestTypeDef#

# GetDataSetDetailsRequestRequestTypeDef definition

class GetDataSetDetailsRequestRequestTypeDef(TypedDict):
    applicationId: str,
    dataSetName: str,

GetDataSetImportTaskRequestRequestTypeDef#

# GetDataSetImportTaskRequestRequestTypeDef definition

class GetDataSetImportTaskRequestRequestTypeDef(TypedDict):
    applicationId: str,
    taskId: str,

GetDeploymentRequestRequestTypeDef#

# GetDeploymentRequestRequestTypeDef definition

class GetDeploymentRequestRequestTypeDef(TypedDict):
    applicationId: str,
    deploymentId: str,

GetEnvironmentRequestRequestTypeDef#

# GetEnvironmentRequestRequestTypeDef definition

class GetEnvironmentRequestRequestTypeDef(TypedDict):
    environmentId: str,

JobIdentifierTypeDef#

# JobIdentifierTypeDef definition

class JobIdentifierTypeDef(TypedDict):
    fileName: NotRequired[str],
    scriptName: NotRequired[str],

JobStepTypeDef#

# JobStepTypeDef definition

class JobStepTypeDef(TypedDict):
    procStepName: NotRequired[str],
    procStepNumber: NotRequired[int],
    stepCondCode: NotRequired[str],
    stepName: NotRequired[str],
    stepNumber: NotRequired[int],
    stepRestartable: NotRequired[bool],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListApplicationVersionsRequestRequestTypeDef#

# ListApplicationVersionsRequestRequestTypeDef definition

class ListApplicationVersionsRequestRequestTypeDef(TypedDict):
    applicationId: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListApplicationsRequestRequestTypeDef#

# ListApplicationsRequestRequestTypeDef definition

class ListApplicationsRequestRequestTypeDef(TypedDict):
    environmentId: NotRequired[str],
    maxResults: NotRequired[int],
    names: NotRequired[Sequence[str]],
    nextToken: NotRequired[str],

ListBatchJobDefinitionsRequestRequestTypeDef#

# ListBatchJobDefinitionsRequestRequestTypeDef definition

class ListBatchJobDefinitionsRequestRequestTypeDef(TypedDict):
    applicationId: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    prefix: NotRequired[str],

ListBatchJobRestartPointsRequestRequestTypeDef#

# ListBatchJobRestartPointsRequestRequestTypeDef definition

class ListBatchJobRestartPointsRequestRequestTypeDef(TypedDict):
    applicationId: str,
    executionId: str,

ListDataSetImportHistoryRequestRequestTypeDef#

# ListDataSetImportHistoryRequestRequestTypeDef definition

class ListDataSetImportHistoryRequestRequestTypeDef(TypedDict):
    applicationId: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListDataSetsRequestRequestTypeDef#

# ListDataSetsRequestRequestTypeDef definition

class ListDataSetsRequestRequestTypeDef(TypedDict):
    applicationId: str,
    maxResults: NotRequired[int],
    nameFilter: NotRequired[str],
    nextToken: NotRequired[str],
    prefix: NotRequired[str],

ListDeploymentsRequestRequestTypeDef#

# ListDeploymentsRequestRequestTypeDef definition

class ListDeploymentsRequestRequestTypeDef(TypedDict):
    applicationId: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListEngineVersionsRequestRequestTypeDef#

# ListEngineVersionsRequestRequestTypeDef definition

class ListEngineVersionsRequestRequestTypeDef(TypedDict):
    engineType: NotRequired[EngineTypeType],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See EngineTypeType

ListEnvironmentsRequestRequestTypeDef#

# ListEnvironmentsRequestRequestTypeDef definition

class ListEnvironmentsRequestRequestTypeDef(TypedDict):
    engineType: NotRequired[EngineTypeType],  # (1)
    maxResults: NotRequired[int],
    names: NotRequired[Sequence[str]],
    nextToken: NotRequired[str],
  1. See EngineTypeType

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

MaintenanceScheduleTypeDef#

# MaintenanceScheduleTypeDef definition

class MaintenanceScheduleTypeDef(TypedDict):
    endTime: NotRequired[datetime],
    startTime: NotRequired[datetime],

PrimaryKeyTypeDef#

# PrimaryKeyTypeDef definition

class PrimaryKeyTypeDef(TypedDict):
    length: int,
    offset: int,
    name: NotRequired[str],

StartApplicationRequestRequestTypeDef#

# StartApplicationRequestRequestTypeDef definition

class StartApplicationRequestRequestTypeDef(TypedDict):
    applicationId: str,

StopApplicationRequestRequestTypeDef#

# StopApplicationRequestRequestTypeDef definition

class StopApplicationRequestRequestTypeDef(TypedDict):
    applicationId: str,
    forceStop: NotRequired[bool],

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

UpdateEnvironmentRequestRequestTypeDef#

# UpdateEnvironmentRequestRequestTypeDef definition

class UpdateEnvironmentRequestRequestTypeDef(TypedDict):
    environmentId: str,
    applyDuringMaintenanceWindow: NotRequired[bool],
    desiredCapacity: NotRequired[int],
    engineVersion: NotRequired[str],
    forceUpdate: NotRequired[bool],
    instanceType: NotRequired[str],
    preferredMaintenanceWindow: NotRequired[str],

BatchJobDefinitionTypeDef#

# BatchJobDefinitionTypeDef definition

class BatchJobDefinitionTypeDef(TypedDict):
    fileBatchJobDefinition: NotRequired[FileBatchJobDefinitionTypeDef],  # (1)
    scriptBatchJobDefinition: NotRequired[ScriptBatchJobDefinitionTypeDef],  # (2)
  1. See