Skip to content

Type definitions#

Index > EMRContainers > Type definitions

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

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

JobDriverUnionTypeDef#

# JobDriverUnionTypeDef definition

JobDriverUnionTypeDef = Union[
    JobDriverTypeDef,  # (1)
    JobDriverExtraOutputTypeDef,  # (2)
]
  1. See JobDriverTypeDef
  2. See JobDriverExtraOutputTypeDef

ConfigurationOverridesUnionTypeDef#

# ConfigurationOverridesUnionTypeDef definition

ConfigurationOverridesUnionTypeDef = Union[
    ConfigurationOverridesTypeDef,  # (1)
    ConfigurationOverridesExtraOutputTypeDef,  # (2)
]
  1. See ConfigurationOverridesTypeDef
  2. See ConfigurationOverridesExtraOutputTypeDef

JobTemplateDataUnionTypeDef#

# JobTemplateDataUnionTypeDef definition

JobTemplateDataUnionTypeDef = Union[
    JobTemplateDataTypeDef,  # (1)
    JobTemplateDataExtraOutputTypeDef,  # (2)
]
  1. See JobTemplateDataTypeDef
  2. See JobTemplateDataExtraOutputTypeDef

CancelJobRunRequestRequestTypeDef#

# CancelJobRunRequestRequestTypeDef definition

class CancelJobRunRequestRequestTypeDef(TypedDict):
    id: str,
    virtualClusterId: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

CertificateTypeDef#

# CertificateTypeDef definition

class CertificateTypeDef(TypedDict):
    certificateArn: NotRequired[str],
    certificateData: NotRequired[str],

CloudWatchMonitoringConfigurationTypeDef#

# CloudWatchMonitoringConfigurationTypeDef definition

class CloudWatchMonitoringConfigurationTypeDef(TypedDict):
    logGroupName: str,
    logStreamNamePrefix: NotRequired[str],

ConfigurationExtraOutputTypeDef#

# ConfigurationExtraOutputTypeDef definition

class ConfigurationExtraOutputTypeDef(TypedDict):
    classification: str,
    properties: NotRequired[Dict[str, str]],
    configurations: NotRequired[List[Dict[str, Any]]],

ConfigurationOutputTypeDef#

# ConfigurationOutputTypeDef definition

class ConfigurationOutputTypeDef(TypedDict):
    classification: str,
    properties: NotRequired[Dict[str, str]],
    configurations: NotRequired[List[Dict[str, Any]]],

ConfigurationTypeDef#

# ConfigurationTypeDef definition

class ConfigurationTypeDef(TypedDict):
    classification: str,
    properties: NotRequired[Mapping[str, str]],
    configurations: NotRequired[Sequence[Dict[str, Any]]],

EksInfoTypeDef#

# EksInfoTypeDef definition

class EksInfoTypeDef(TypedDict):
    namespace: NotRequired[str],

ContainerLogRotationConfigurationTypeDef#

# ContainerLogRotationConfigurationTypeDef definition

class ContainerLogRotationConfigurationTypeDef(TypedDict):
    rotationSize: str,
    maxFilesToKeep: int,

CredentialsTypeDef#

# CredentialsTypeDef definition

class CredentialsTypeDef(TypedDict):
    token: NotRequired[str],

DeleteJobTemplateRequestRequestTypeDef#

# DeleteJobTemplateRequestRequestTypeDef definition

class DeleteJobTemplateRequestRequestTypeDef(TypedDict):
    id: str,

DeleteManagedEndpointRequestRequestTypeDef#

# DeleteManagedEndpointRequestRequestTypeDef definition

class DeleteManagedEndpointRequestRequestTypeDef(TypedDict):
    id: str,
    virtualClusterId: str,

DeleteVirtualClusterRequestRequestTypeDef#

# DeleteVirtualClusterRequestRequestTypeDef definition

class DeleteVirtualClusterRequestRequestTypeDef(TypedDict):
    id: str,

DescribeJobRunRequestRequestTypeDef#

# DescribeJobRunRequestRequestTypeDef definition

class DescribeJobRunRequestRequestTypeDef(TypedDict):
    id: str,
    virtualClusterId: str,

DescribeJobTemplateRequestRequestTypeDef#

# DescribeJobTemplateRequestRequestTypeDef definition

class DescribeJobTemplateRequestRequestTypeDef(TypedDict):
    id: str,

DescribeManagedEndpointRequestRequestTypeDef#

# DescribeManagedEndpointRequestRequestTypeDef definition

class DescribeManagedEndpointRequestRequestTypeDef(TypedDict):
    id: str,
    virtualClusterId: str,

DescribeSecurityConfigurationRequestRequestTypeDef#

# DescribeSecurityConfigurationRequestRequestTypeDef definition

class DescribeSecurityConfigurationRequestRequestTypeDef(TypedDict):
    id: str,

DescribeVirtualClusterRequestRequestTypeDef#

# DescribeVirtualClusterRequestRequestTypeDef definition

class DescribeVirtualClusterRequestRequestTypeDef(TypedDict):
    id: str,

GetManagedEndpointSessionCredentialsRequestRequestTypeDef#

# GetManagedEndpointSessionCredentialsRequestRequestTypeDef definition

class GetManagedEndpointSessionCredentialsRequestRequestTypeDef(TypedDict):
    endpointIdentifier: str,
    virtualClusterIdentifier: str,
    executionRoleArn: str,
    credentialType: str,
    durationInSeconds: NotRequired[int],
    logContext: NotRequired[str],
    clientToken: NotRequired[str],

TLSCertificateConfigurationTypeDef#

# TLSCertificateConfigurationTypeDef definition

class TLSCertificateConfigurationTypeDef(TypedDict):
    certificateProviderType: NotRequired[CertificateProviderTypeType],  # (1)
    publicCertificateSecretArn: NotRequired[str],
    privateCertificateSecretArn: NotRequired[str],
  1. See CertificateProviderTypeType

SparkSqlJobDriverTypeDef#

# SparkSqlJobDriverTypeDef definition

class SparkSqlJobDriverTypeDef(TypedDict):
    entryPoint: NotRequired[str],
    sparkSqlParameters: NotRequired[str],

SparkSubmitJobDriverExtraOutputTypeDef#

# SparkSubmitJobDriverExtraOutputTypeDef definition

class SparkSubmitJobDriverExtraOutputTypeDef(TypedDict):
    entryPoint: str,
    entryPointArguments: NotRequired[List[str]],
    sparkSubmitParameters: NotRequired[str],

SparkSubmitJobDriverOutputTypeDef#

# SparkSubmitJobDriverOutputTypeDef definition

class SparkSubmitJobDriverOutputTypeDef(TypedDict):
    entryPoint: str,
    entryPointArguments: NotRequired[List[str]],
    sparkSubmitParameters: NotRequired[str],

SparkSubmitJobDriverTypeDef#

# SparkSubmitJobDriverTypeDef definition

class SparkSubmitJobDriverTypeDef(TypedDict):
    entryPoint: str,
    entryPointArguments: NotRequired[Sequence[str]],
    sparkSubmitParameters: NotRequired[str],

RetryPolicyConfigurationTypeDef#

# RetryPolicyConfigurationTypeDef definition

class RetryPolicyConfigurationTypeDef(TypedDict):
    maxAttempts: int,

RetryPolicyExecutionTypeDef#

# RetryPolicyExecutionTypeDef definition

class RetryPolicyExecutionTypeDef(TypedDict):
    currentAttemptCount: int,

TemplateParameterConfigurationTypeDef#

# TemplateParameterConfigurationTypeDef definition

class TemplateParameterConfigurationTypeDef(TypedDict):
    type: NotRequired[TemplateParameterDataTypeType],  # (1)
    defaultValue: NotRequired[str],
  1. See TemplateParameterDataTypeType

SecureNamespaceInfoTypeDef#

# SecureNamespaceInfoTypeDef definition

class SecureNamespaceInfoTypeDef(TypedDict):
    clusterId: NotRequired[str],
    namespace: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

S3MonitoringConfigurationTypeDef#

# S3MonitoringConfigurationTypeDef definition

class S3MonitoringConfigurationTypeDef(TypedDict):
    logUri: str,

ParametricCloudWatchMonitoringConfigurationTypeDef#

# ParametricCloudWatchMonitoringConfigurationTypeDef definition

class ParametricCloudWatchMonitoringConfigurationTypeDef(TypedDict):
    logGroupName: NotRequired[str],
    logStreamNamePrefix: NotRequired[str],

ParametricS3MonitoringConfigurationTypeDef#

# ParametricS3MonitoringConfigurationTypeDef definition

class ParametricS3MonitoringConfigurationTypeDef(TypedDict):
    logUri: NotRequired[str],

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

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

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

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

CancelJobRunResponseTypeDef#

# CancelJobRunResponseTypeDef definition

class CancelJobRunResponseTypeDef(TypedDict):
    id: str,
    virtualClusterId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateJobTemplateResponseTypeDef#

# CreateJobTemplateResponseTypeDef definition

class CreateJobTemplateResponseTypeDef(TypedDict):
    id: str,
    name: str,
    arn: str,
    createdAt: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateManagedEndpointResponseTypeDef#

# CreateManagedEndpointResponseTypeDef definition

class CreateManagedEndpointResponseTypeDef(TypedDict):
    id: str,
    name: str,
    arn: str,
    virtualClusterId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateSecurityConfigurationResponseTypeDef#

# CreateSecurityConfigurationResponseTypeDef definition

class CreateSecurityConfigurationResponseTypeDef(TypedDict):
    id: str,
    name: str,
    arn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateVirtualClusterResponseTypeDef#

# CreateVirtualClusterResponseTypeDef definition

class CreateVirtualClusterResponseTypeDef(TypedDict):
    id: str,
    name: str,
    arn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteJobTemplateResponseTypeDef#

# DeleteJobTemplateResponseTypeDef definition

class DeleteJobTemplateResponseTypeDef(TypedDict):
    id: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See