Skip to content

Type definitions#

Index > CleanRoomsML > Type definitions

Auto-generated documentation for CleanRoomsML type annotations stubs module mypy-boto3-cleanroomsml.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AudienceSizeConfigUnionTypeDef#

# AudienceSizeConfigUnionTypeDef definition

AudienceSizeConfigUnionTypeDef = Union[
    AudienceSizeConfigTypeDef,  # (1)
    AudienceSizeConfigOutputTypeDef,  # (2)
]
  1. See AudienceSizeConfigTypeDef
  2. See AudienceSizeConfigOutputTypeDef

DatasetUnionTypeDef#

# DatasetUnionTypeDef definition

DatasetUnionTypeDef = Union[
    DatasetTypeDef,  # (1)
    DatasetOutputTypeDef,  # (2)
]
  1. See DatasetTypeDef
  2. See DatasetOutputTypeDef

S3ConfigMapTypeDef#

# S3ConfigMapTypeDef definition

class S3ConfigMapTypeDef(TypedDict):
    s3Uri: str,

AudienceSizeTypeDef#

# AudienceSizeTypeDef definition

class AudienceSizeTypeDef(TypedDict):
    type: AudienceSizeTypeType,  # (1)
    value: int,
  1. See AudienceSizeTypeType

StatusDetailsTypeDef#

# StatusDetailsTypeDef definition

class StatusDetailsTypeDef(TypedDict):
    message: NotRequired[str],
    statusCode: NotRequired[str],

AudienceGenerationJobSummaryTypeDef#

# AudienceGenerationJobSummaryTypeDef definition

class AudienceGenerationJobSummaryTypeDef(TypedDict):
    audienceGenerationJobArn: str,
    configuredAudienceModelArn: str,
    createTime: datetime,
    name: str,
    status: AudienceGenerationJobStatusType,  # (1)
    updateTime: datetime,
    collaborationId: NotRequired[str],
    description: NotRequired[str],
    startedBy: NotRequired[str],
  1. See AudienceGenerationJobStatusType

AudienceModelSummaryTypeDef#

# AudienceModelSummaryTypeDef definition

class AudienceModelSummaryTypeDef(TypedDict):
    audienceModelArn: str,
    createTime: datetime,
    name: str,
    status: AudienceModelStatusType,  # (1)
    trainingDatasetArn: str,
    updateTime: datetime,
    description: NotRequired[str],
  1. See AudienceModelStatusType

AudienceSizeConfigOutputTypeDef#

# AudienceSizeConfigOutputTypeDef definition

class AudienceSizeConfigOutputTypeDef(TypedDict):
    audienceSizeBins: List[int],
    audienceSizeType: AudienceSizeTypeType,  # (1)
  1. See AudienceSizeTypeType

AudienceSizeConfigTypeDef#

# AudienceSizeConfigTypeDef definition

class AudienceSizeConfigTypeDef(TypedDict):
    audienceSizeBins: Sequence[int],
    audienceSizeType: AudienceSizeTypeType,  # (1)
  1. See AudienceSizeTypeType

ColumnSchemaOutputTypeDef#

# ColumnSchemaOutputTypeDef definition

class ColumnSchemaOutputTypeDef(TypedDict):
    columnName: str,
    columnTypes: List[ColumnTypeType],  # (1)
  1. See ColumnTypeType

ColumnSchemaTypeDef#

# ColumnSchemaTypeDef definition

class ColumnSchemaTypeDef(TypedDict):
    columnName: str,
    columnTypes: Sequence[ColumnTypeType],  # (1)
  1. See ColumnTypeType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

GlueDataSourceTypeDef#

# GlueDataSourceTypeDef definition

class GlueDataSourceTypeDef(TypedDict):
    databaseName: str,
    tableName: str,
    catalogId: NotRequired[str],

DeleteAudienceGenerationJobRequestRequestTypeDef#

# DeleteAudienceGenerationJobRequestRequestTypeDef definition

class DeleteAudienceGenerationJobRequestRequestTypeDef(TypedDict):
    audienceGenerationJobArn: str,

DeleteAudienceModelRequestRequestTypeDef#

# DeleteAudienceModelRequestRequestTypeDef definition

class DeleteAudienceModelRequestRequestTypeDef(TypedDict):
    audienceModelArn: str,

DeleteConfiguredAudienceModelPolicyRequestRequestTypeDef#

# DeleteConfiguredAudienceModelPolicyRequestRequestTypeDef definition

class DeleteConfiguredAudienceModelPolicyRequestRequestTypeDef(TypedDict):
    configuredAudienceModelArn: str,

DeleteConfiguredAudienceModelRequestRequestTypeDef#

# DeleteConfiguredAudienceModelRequestRequestTypeDef definition

class DeleteConfiguredAudienceModelRequestRequestTypeDef(TypedDict):
    configuredAudienceModelArn: str,

DeleteTrainingDatasetRequestRequestTypeDef#

# DeleteTrainingDatasetRequestRequestTypeDef definition

class DeleteTrainingDatasetRequestRequestTypeDef(TypedDict):
    trainingDatasetArn: str,

GetAudienceGenerationJobRequestRequestTypeDef#

# GetAudienceGenerationJobRequestRequestTypeDef definition

class GetAudienceGenerationJobRequestRequestTypeDef(TypedDict):
    audienceGenerationJobArn: str,

GetAudienceModelRequestRequestTypeDef#

# GetAudienceModelRequestRequestTypeDef definition

class GetAudienceModelRequestRequestTypeDef(TypedDict):
    audienceModelArn: str,

GetConfiguredAudienceModelPolicyRequestRequestTypeDef#

# GetConfiguredAudienceModelPolicyRequestRequestTypeDef definition

class GetConfiguredAudienceModelPolicyRequestRequestTypeDef(TypedDict):
    configuredAudienceModelArn: str,

GetConfiguredAudienceModelRequestRequestTypeDef#

# GetConfiguredAudienceModelRequestRequestTypeDef definition

class GetConfiguredAudienceModelRequestRequestTypeDef(TypedDict):
    configuredAudienceModelArn: str,

GetTrainingDatasetRequestRequestTypeDef#

# GetTrainingDatasetRequestRequestTypeDef definition

class GetTrainingDatasetRequestRequestTypeDef(TypedDict):
    trainingDatasetArn: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListAudienceExportJobsRequestRequestTypeDef#

# ListAudienceExportJobsRequestRequestTypeDef definition

class ListAudienceExportJobsRequestRequestTypeDef(TypedDict):
    audienceGenerationJobArn: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListAudienceGenerationJobsRequestRequestTypeDef#

# ListAudienceGenerationJobsRequestRequestTypeDef definition

class ListAudienceGenerationJobsRequestRequestTypeDef(TypedDict):
    collaborationId: NotRequired[str],
    configuredAudienceModelArn: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListAudienceModelsRequestRequestTypeDef#

# ListAudienceModelsRequestRequestTypeDef definition

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

ListConfiguredAudienceModelsRequestRequestTypeDef#

# ListConfiguredAudienceModelsRequestRequestTypeDef definition

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

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

ListTrainingDatasetsRequestRequestTypeDef#

# ListTrainingDatasetsRequestRequestTypeDef definition

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

TrainingDatasetSummaryTypeDef#

# TrainingDatasetSummaryTypeDef definition

class TrainingDatasetSummaryTypeDef(TypedDict):
    createTime: datetime,
    name: str,
    status: TrainingDatasetStatusType,  # (1)
    trainingDatasetArn: str,
    updateTime: datetime,
    description: NotRequired[str],
  1. See TrainingDatasetStatusType

PutConfiguredAudienceModelPolicyRequestRequestTypeDef#

# PutConfiguredAudienceModelPolicyRequestRequestTypeDef definition

class PutConfiguredAudienceModelPolicyRequestRequestTypeDef(TypedDict):
    configuredAudienceModelArn: str,
    configuredAudienceModelPolicy: str,
    policyExistenceCondition: NotRequired[PolicyExistenceConditionType],  # (1)
    previousPolicyHash: NotRequired[str],
  1. See PolicyExistenceConditionType

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

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

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

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

AudienceDestinationTypeDef#

# AudienceDestinationTypeDef definition

class AudienceDestinationTypeDef(TypedDict):
    s3Destination: S3ConfigMapTypeDef,  # (1)
  1. See S3ConfigMapTypeDef

AudienceGenerationJobDataSourceTypeDef#

# AudienceGenerationJobDataSourceTypeDef definition

class AudienceGenerationJobDataSourceTypeDef(TypedDict):
    dataSource: S3ConfigMapTypeDef,  # (1)
    roleArn: str,
  1. See S3ConfigMapTypeDef

RelevanceMetricTypeDef#

# RelevanceMetricTypeDef definition

class RelevanceMetricTypeDef(TypedDict):
    audienceSize: AudienceSizeTypeDef,  # (1)
    score: NotRequired[float],
  1. See AudienceSizeTypeDef

StartAudienceExportJobRequestRequestTypeDef#

# StartAudienceExportJobRequestRequestTypeDef definition

class StartAudienceExportJobRequestRequestTypeDef(TypedDict):
    audienceGenerationJobArn: str,
    audienceSize: AudienceSizeTypeDef,  # (1)
    name: str,
    description: NotRequired[str],
  1. See AudienceSizeTypeDef

AudienceExportJobSummaryTypeDef#

# AudienceExportJobSummaryTypeDef definition

class AudienceExportJobSummaryTypeDef(TypedDict):
    audienceGenerationJobArn: str,
    audienceSize: AudienceSizeTypeDef,  # (1)
    createTime: datetime,
    name: str,
    status: AudienceExportJobStatusType,  # (2)
    updateTime: datetime,
    description: NotRequired[str],
    outputLocation: NotRequired[str],
    statusDetails: NotRequired[StatusDetailsTypeDef],  # (3)
  1. See AudienceSizeTypeDef
  2. See AudienceExportJobStatusType
  3. See StatusDetailsTypeDef

CreateAudienceModelRequestRequestTypeDef#

# CreateAudienceModelRequestRequestTypeDef definition

class CreateAudienceModelRequestRequestTypeDef(TypedDict):
    name: str,
    trainingDatasetArn: str,
    description: NotRequired[str],
    kmsKeyArn: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
    trainingDataEndTime: NotRequired[Union[datetime, str]],
    trainingDataStartTime: NotRequired[Union[datetime, str]],

CreateAudienceModelResponseTypeDef#

# CreateAudienceModelResponseTypeDef definition

class CreateAudienceModelResponseTypeDef(TypedDict):
    audienceModelArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateConfiguredAudienceModelResponseTypeDef#

# CreateConfiguredAudienceModelResponseTypeDef definition

class CreateConfiguredAudienceModelResponseTypeDef(TypedDict):
    configuredAudienceModelArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateTrainingDatasetResponseTypeDef#

# CreateTrainingDatasetResponseTypeDef definition

class CreateTrainingDatasetResponseTypeDef(TypedDict):
    trainingDatasetArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetAudienceModelResponseTypeDef#

# GetAudienceModelResponseTypeDef definition

class GetAudienceModelResponseTypeDef(TypedDict):
    audienceModelArn: str,
    createTime: datetime,
    description: str,
    kmsKeyArn: str,
    name: str,
    status: AudienceModelStatusType,  # (1)
    statusDetails: StatusDetailsTypeDef,  # (2)
    tags: Dict[str, str],
    trainingDataEndTime: datetime,
    trainingDataStartTime: datetime,
    trainingDatasetArn: str,
    updateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AudienceModelStatusType
  2. See StatusDetailsTypeDef
  3. See ResponseMetadataTypeDef

GetConfiguredAudienceModelPolicyResponseTypeDef#

# GetConfiguredAudienceModelPolicyResponseTypeDef definition

class GetConfiguredAudienceModelPolicyResponseTypeDef(TypedDict):
    configuredAudienceModelArn: str,
    configuredAudienceModelPolicy: str,
    policyHash: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListAudienceGenerationJobsResponseTypeDef#

# ListAudienceGenerationJobsResponseTypeDef definition

class ListAudienceGenerationJobsResponseTypeDef(TypedDict):
    audienceGenerationJobs: List[AudienceGenerationJobSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AudienceGenerationJobSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListAudienceModelsResponseTypeDef#

# ListAudienceModelsResponseTypeDef definition

class ListAudienceModelsResponseTypeDef(TypedDict):
    audienceModels: List[AudienceModelSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AudienceModelSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PutConfiguredAudienceModelPolicyResponseTypeDef#

# PutConfiguredAudienceModelPolicyResponseTypeDef definition

class PutConfiguredAudienceModelPolicyResponseTypeDef(TypedDict):
    configuredAudienceModelPolicy: str,
    policyHash: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartAudienceGenerationJobResponseTypeDef#

# StartAudienceGenerationJobResponseTypeDef definition

class StartAudienceGenerationJobResponseTypeDef(TypedDict):
    audienceGenerationJobArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef