Skip to content

Type definitions#

Index > CloudWatchEvidently > Type definitions

Auto-generated documentation for CloudWatchEvidently type annotations stubs module mypy-boto3-evidently.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

SegmentOverrideUnionTypeDef#

# SegmentOverrideUnionTypeDef definition

SegmentOverrideUnionTypeDef = Union[
    SegmentOverrideTypeDef,  # (1)
    SegmentOverrideOutputTypeDef,  # (2)
]
  1. See SegmentOverrideTypeDef
  2. See SegmentOverrideOutputTypeDef

EvaluationRequestTypeDef#

# EvaluationRequestTypeDef definition

class EvaluationRequestTypeDef(TypedDict):
    entityId: str,
    feature: str,
    evaluationContext: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

CloudWatchLogsDestinationConfigTypeDef#

# CloudWatchLogsDestinationConfigTypeDef definition

class CloudWatchLogsDestinationConfigTypeDef(TypedDict):
    logGroup: NotRequired[str],

CloudWatchLogsDestinationTypeDef#

# CloudWatchLogsDestinationTypeDef definition

class CloudWatchLogsDestinationTypeDef(TypedDict):
    logGroup: NotRequired[str],

OnlineAbConfigTypeDef#

# OnlineAbConfigTypeDef definition

class OnlineAbConfigTypeDef(TypedDict):
    controlTreatmentName: NotRequired[str],
    treatmentWeights: NotRequired[Mapping[str, int]],

TreatmentConfigTypeDef#

# TreatmentConfigTypeDef definition

class TreatmentConfigTypeDef(TypedDict):
    feature: str,
    name: str,
    variation: str,
    description: NotRequired[str],

LaunchGroupConfigTypeDef#

# LaunchGroupConfigTypeDef definition

class LaunchGroupConfigTypeDef(TypedDict):
    feature: str,
    name: str,
    variation: str,
    description: NotRequired[str],

ProjectAppConfigResourceConfigTypeDef#

# ProjectAppConfigResourceConfigTypeDef definition

class ProjectAppConfigResourceConfigTypeDef(TypedDict):
    applicationId: NotRequired[str],
    environmentId: NotRequired[str],

CreateSegmentRequestRequestTypeDef#

# CreateSegmentRequestRequestTypeDef definition

class CreateSegmentRequestRequestTypeDef(TypedDict):
    name: str,
    pattern: str,
    description: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],

SegmentTypeDef#

# SegmentTypeDef definition

class SegmentTypeDef(TypedDict):
    arn: str,
    createdTime: datetime,
    lastUpdatedTime: datetime,
    name: str,
    pattern: str,
    description: NotRequired[str],
    experimentCount: NotRequired[int],
    launchCount: NotRequired[int],
    tags: NotRequired[Dict[str, str]],

DeleteExperimentRequestRequestTypeDef#

# DeleteExperimentRequestRequestTypeDef definition

class DeleteExperimentRequestRequestTypeDef(TypedDict):
    experiment: str,
    project: str,

DeleteFeatureRequestRequestTypeDef#

# DeleteFeatureRequestRequestTypeDef definition

class DeleteFeatureRequestRequestTypeDef(TypedDict):
    feature: str,
    project: str,

DeleteLaunchRequestRequestTypeDef#

# DeleteLaunchRequestRequestTypeDef definition

class DeleteLaunchRequestRequestTypeDef(TypedDict):
    launch: str,
    project: str,

DeleteProjectRequestRequestTypeDef#

# DeleteProjectRequestRequestTypeDef definition

class DeleteProjectRequestRequestTypeDef(TypedDict):
    project: str,

DeleteSegmentRequestRequestTypeDef#

# DeleteSegmentRequestRequestTypeDef definition

class DeleteSegmentRequestRequestTypeDef(TypedDict):
    segment: str,

EvaluateFeatureRequestRequestTypeDef#

# EvaluateFeatureRequestRequestTypeDef definition

class EvaluateFeatureRequestRequestTypeDef(TypedDict):
    entityId: str,
    feature: str,
    project: str,
    evaluationContext: NotRequired[str],

VariableValueTypeDef#

# VariableValueTypeDef definition

class VariableValueTypeDef(TypedDict):
    boolValue: NotRequired[bool],
    doubleValue: NotRequired[float],
    longValue: NotRequired[int],
    stringValue: NotRequired[str],

EvaluationRuleTypeDef#

# EvaluationRuleTypeDef definition

class EvaluationRuleTypeDef(TypedDict):
    type: str,
    name: NotRequired[str],

ExperimentExecutionTypeDef#

# ExperimentExecutionTypeDef definition

class ExperimentExecutionTypeDef(TypedDict):
    endedTime: NotRequired[datetime],
    startedTime: NotRequired[datetime],

ExperimentReportTypeDef#

# ExperimentReportTypeDef definition

class ExperimentReportTypeDef(TypedDict):
    content: NotRequired[str],
    metricName: NotRequired[str],
    reportName: NotRequired[ExperimentReportNameType],  # (1)
    treatmentName: NotRequired[str],
  1. See ExperimentReportNameType

ExperimentResultsDataTypeDef#

# ExperimentResultsDataTypeDef definition

class ExperimentResultsDataTypeDef(TypedDict):
    metricName: NotRequired[str],
    resultStat: NotRequired[ExperimentResultResponseTypeType],  # (1)
    treatmentName: NotRequired[str],
    values: NotRequired[List[float]],
  1. See ExperimentResultResponseTypeType

ExperimentScheduleTypeDef#

# ExperimentScheduleTypeDef definition

class ExperimentScheduleTypeDef(TypedDict):
    analysisCompleteTime: NotRequired[datetime],

OnlineAbDefinitionTypeDef#

# OnlineAbDefinitionTypeDef definition

class OnlineAbDefinitionTypeDef(TypedDict):
    controlTreatmentName: NotRequired[str],
    treatmentWeights: NotRequired[Dict[str, int]],

TreatmentTypeDef#

# TreatmentTypeDef definition

class TreatmentTypeDef(TypedDict):
    name: str,
    description: NotRequired[str],
    featureVariations: NotRequired[Dict[str, str]],

GetExperimentRequestRequestTypeDef#

# GetExperimentRequestRequestTypeDef definition

class GetExperimentRequestRequestTypeDef(TypedDict):
    experiment: str,
    project: str,

GetFeatureRequestRequestTypeDef#

# GetFeatureRequestRequestTypeDef definition

class GetFeatureRequestRequestTypeDef(TypedDict):
    feature: str,
    project: str,

GetLaunchRequestRequestTypeDef#

# GetLaunchRequestRequestTypeDef definition

class GetLaunchRequestRequestTypeDef(TypedDict):
    launch: str,
    project: str,

GetProjectRequestRequestTypeDef#

# GetProjectRequestRequestTypeDef definition

class GetProjectRequestRequestTypeDef(TypedDict):
    project: str,

GetSegmentRequestRequestTypeDef#

# GetSegmentRequestRequestTypeDef definition

class GetSegmentRequestRequestTypeDef(TypedDict):
    segment: str,

LaunchExecutionTypeDef#

# LaunchExecutionTypeDef definition

class LaunchExecutionTypeDef(TypedDict):
    endedTime: NotRequired[datetime],
    startedTime: NotRequired[datetime],

LaunchGroupTypeDef#

# LaunchGroupTypeDef definition

class LaunchGroupTypeDef(TypedDict):
    featureVariations: Dict[str, str],
    name: str,
    description: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListExperimentsRequestRequestTypeDef#

# ListExperimentsRequestRequestTypeDef definition

class ListExperimentsRequestRequestTypeDef(TypedDict):
    project: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    status: NotRequired[ExperimentStatusType],  # (1)
  1. See ExperimentStatusType

ListFeaturesRequestRequestTypeDef#

# ListFeaturesRequestRequestTypeDef definition

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

ListLaunchesRequestRequestTypeDef#

# ListLaunchesRequestRequestTypeDef definition

class ListLaunchesRequestRequestTypeDef(TypedDict):
    project: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    status: NotRequired[LaunchStatusType],  # (1)
  1. See LaunchStatusType

ListProjectsRequestRequestTypeDef#

# ListProjectsRequestRequestTypeDef definition

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

ProjectSummaryTypeDef#

# ProjectSummaryTypeDef definition

class ProjectSummaryTypeDef(TypedDict):
    arn: str,
    createdTime: datetime,
    lastUpdatedTime: datetime,
    name: str,
    status: ProjectStatusType,  # (1)
    activeExperimentCount: NotRequired[int],
    activeLaunchCount: NotRequired[int],
    description: NotRequired[str],
    experimentCount: NotRequired[int],
    featureCount: NotRequired[int],
    launchCount: NotRequired[int],
    tags: NotRequired[Dict[str, str]],
  1. See ProjectStatusType

ListSegmentReferencesRequestRequestTypeDef#

# ListSegmentReferencesRequestRequestTypeDef definition

class ListSegmentReferencesRequestRequestTypeDef(TypedDict):
    segment: str,
    type: SegmentReferenceResourceTypeType,  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See SegmentReferenceResourceTypeType

RefResourceTypeDef#

# RefResourceTypeDef definition

class RefResourceTypeDef(TypedDict):
    name: str,
    type: str,
    arn: NotRequired[str],
    endTime: NotRequired[str],
    lastUpdatedOn: NotRequired[str],
    startTime: NotRequired[str],
    status: NotRequired[str],

ListSegmentsRequestRequestTypeDef#

# ListSegmentsRequestRequestTypeDef definition

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

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

MetricDefinitionConfigTypeDef#

# MetricDefinitionConfigTypeDef definition

class MetricDefinitionConfigTypeDef(TypedDict):
    entityIdKey: str,
    name: str,
    valueKey: str,
    eventPattern: NotRequired[str],
    unitLabel: NotRequired[str],

MetricDefinitionTypeDef#

# MetricDefinitionTypeDef definition

class MetricDefinitionTypeDef(TypedDict):
    entityIdKey: NotRequired[str],
    eventPattern: NotRequired[str],
    name: NotRequired[str],
    unitLabel: NotRequired[str],
    valueKey: NotRequired[str],

ProjectAppConfigResourceTypeDef#

# ProjectAppConfigResourceTypeDef definition

class ProjectAppConfigResourceTypeDef(TypedDict):
    applicationId: str,
    configurationProfileId: str,
    environmentId: str,

S3DestinationConfigTypeDef#

# S3DestinationConfigTypeDef definition

class S3DestinationConfigTypeDef(TypedDict):
    bucket: NotRequired[str],
    prefix: NotRequired[str],

S3DestinationTypeDef#

# S3DestinationTypeDef definition

class S3DestinationTypeDef(TypedDict):
    bucket: NotRequired[str],
    prefix: NotRequired[str],

PutProjectEventsResultEntryTypeDef#

# PutProjectEventsResultEntryTypeDef definition

class PutProjectEventsResultEntryTypeDef(TypedDict):
    errorCode: NotRequired[str],
    errorMessage: NotRequired[str],
    eventId: NotRequired[str],

SegmentOverrideOutputTypeDef#

# SegmentOverrideOutputTypeDef definition

class SegmentOverrideOutputTypeDef(TypedDict):
    evaluationOrder: int,
    segment: str,
    weights: Dict[str, int],

SegmentOverrideTypeDef#

# SegmentOverrideTypeDef definition

class SegmentOverrideTypeDef(TypedDict):
    evaluationOrder: int,
    segment: str,
    weights: Mapping[str, int],

StartLaunchRequestRequestTypeDef#

# StartLaunchRequestRequestTypeDef definition

class StartLaunchRequestRequestTypeDef(TypedDict):
    launch: str,
    project: str,

StopExperimentRequestRequestTypeDef#

# StopExperimentRequestRequestTypeDef definition

class StopExperimentRequestRequestTypeDef(TypedDict):
    experiment: str,
    project: str,
    desiredState: NotRequired[ExperimentStopDesiredStateType],  # (1)
    reason: NotRequired[str],
  1. See ExperimentStopDesiredStateType

StopLaunchRequestRequestTypeDef#

# StopLaunchRequestRequestTypeDef definition

class StopLaunchRequestRequestTypeDef(TypedDict):
    launch: str,
    project: str,
    desiredState: NotRequired[LaunchStopDesiredStateType],  # (1)
    reason: NotRequired[str],
  1. See LaunchStopDesiredStateType

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

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

TestSegmentPatternRequestRequestTypeDef#

# TestSegmentPatternRequestRequestTypeDef definition

class TestSegmentPatternRequestRequestTypeDef(TypedDict):
    pattern: str,
    payload: str,

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

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

BatchEvaluateFeatureRequestRequestTypeDef#

# BatchEvaluateFeatureRequestRequestTypeDef definition

class BatchEvaluateFeatureRequestRequestTypeDef(TypedDict):
    project: str,
    requests: Sequence[EvaluationRequestTypeDef],  # (1)
  1. See EvaluationRequestTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

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

StartExperimentResponseTypeDef#

# StartExperimentResponseTypeDef definition

class StartExperimentResponseTypeDef(TypedDict):
    startedTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StopExperimentResponseTypeDef#

# StopExperimentResponseTypeDef definition

class StopExperimentResponseTypeDef(TypedDict):
    endedTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StopLaunchResponseTypeDef#

# StopLaunchResponseTypeDef definition

class StopLaunchResponseTypeDef(TypedDict):
    endedTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

TestSegmentPatternResponseTypeDef#

# TestSegmentPatternResponseTypeDef definition

class TestSegmentPatternResponseTypeDef(TypedDict):
    match: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateProjectRequestRequestTypeDef#

# UpdateProjectRequestRequestTypeDef definition

class UpdateProjectRequestRequestTypeDef(TypedDict):
    project: str,
    appConfigResource: NotRequired[ProjectAppConfigResourceConfigTypeDef],  # (1)
    description: NotRequired[str],
  1. See ProjectAppConfigResourceConfigTypeDef

CreateSegmentResponseTypeDef#

# CreateSegmentResponseTypeDef definition

class CreateSegmentResponseTypeDef(TypedDict):
    segment: SegmentTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SegmentTypeDef
  2. See ResponseMetadataTypeDef

GetSegmentResponseTypeDef#

# GetSegmentResponseTypeDef definition

class GetSegmentResponseTypeDef(TypedDict):
    segment: SegmentTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SegmentTypeDef
  2. See ResponseMetadataTypeDef

ListSegmentsResponseTypeDef#

# ListSegmentsResponseTypeDef definition

class ListSegmentsResponseTypeDef(TypedDict):
    segments: List[SegmentTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See SegmentTypeDef
  2. See ResponseMetadataTypeDef

EvaluateFeatureResponseTypeDef#

# EvaluateFeatureResponseTypeDef definition

class EvaluateFeatureResponseTypeDef(TypedDict):
    details: str,
    reason: str,
    value: VariableValueTypeDef,  # (1)
    variation: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VariableValueTypeDef
  2. See ResponseMetadataTypeDef

EvaluationResultTypeDef#

# EvaluationResultTypeDef definition

class EvaluationResultTypeDef(TypedDict):
    entityId: str,
    feature: str,
    details: NotRequired[str],
    project: NotRequired[str],
    reason: NotRequired[str],
    value: NotRequired[VariableValueTypeDef],  # (1)
    variation: NotRequired[str],
  1. See VariableValueTypeDef

VariationConfigTypeDef#

# VariationConfigTypeDef definition

class VariationConfigTypeDef(TypedDict):
    name: str,
    value: VariableValueTypeDef,  # (1)
  1. See VariableValueTypeDef

VariationTypeDef#

# VariationTypeDef definition

class VariationTypeDef(TypedDict):
    name: NotRequired[str],
    value: NotRequired[VariableValueTypeDef],  # (1)
  1. See VariableValueTypeDef

FeatureSummaryTypeDef#

# FeatureSummaryTypeDef definition

class FeatureSummaryTypeDef(TypedDict):
    arn: str,
    createdTime: datetime,
    evaluationStrategy: FeatureEvaluationStrategyType,  # (2)
    lastUpdatedTime: datetime,
    name: str,
    status: FeatureStatusType,  # (3)
    defaultVariation: NotRequired[str],
    evaluationRules: NotRequired[List[EvaluationRuleTypeDef]],  # (1)
    project: NotRequired[str],
    tags: NotRequired[Dict[str, str]],
  1. See EvaluationRuleTypeDef
  2. See FeatureEvaluationStrategyType
  3. See FeatureStatusType

EventTypeDef#

# EventTypeDef definition

class EventTypeDef(TypedDict):
    data: str,
    timestamp: TimestampTypeDef,
    type: EventTypeType,  # (1)
  1. See EventTypeType

GetExperimentResultsRequestRequestTypeDef#

# GetExperimentResultsRequestRequestTypeDef definition

class GetExperimentResultsRequestRequestTypeDef(TypedDict):
    experiment: str,
    metricNames: Sequence[str],
    project: str,
    treatmentNames: Sequence[str],
    baseStat: NotRequired[ExperimentBaseStatType],  # (1)
    endTime: NotRequired[TimestampTypeDef],
    period: NotRequired[int],
    reportNames: NotRequired[Sequence[ExperimentReportNameType]],  # (2)
    resultStats: NotRequired[Sequence[ExperimentResultRequestTypeType]],  # (3)
    startTime: NotRequired[TimestampTypeDef],
  1. See ExperimentBaseStatType
  2. See ExperimentReportNameType
  3. See ExperimentResultRequestTypeType

StartExperimentRequestRequestTypeDef#

# StartExperimentRequestRequestTypeDef definition

class StartExperimentRequestRequestTypeDef(TypedDict):
    analysisCompleteTime: TimestampTypeDef,
    experiment: str,
    project: str,

GetExperimentResultsResponseTypeDef#

# GetExperimentResultsResponseTypeDef definition

class GetExperimentResultsResponseTypeDef(TypedDict):
    details: str,
    reports: List[ExperimentReportTypeDef],  # (1)
    resultsData: List[ExperimentResultsDataTypeDef],  # (2)
    timestamps: List[datetime],
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ExperimentReportTypeDef
  2. See ExperimentResultsDataTypeDef
  3. See ResponseMetadataTypeDef

ListExperimentsRequestListExperimentsPaginateTypeDef#

# ListExperimentsRequestListExperimentsPaginateTypeDef definition

class ListExperimentsRequestListExperimentsPaginateTypeDef(TypedDict):
    project: str,
    status: NotRequired[ExperimentStatusType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ExperimentStatusType
  2. See PaginatorConfigTypeDef

ListFeaturesRequestListFeaturesPaginateTypeDef#

# ListFeaturesRequestListFeaturesPaginateTypeDef definition

class ListFeaturesRequestListFeaturesPaginateTypeDef(TypedDict):
    project: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListLaunchesRequestListLaunchesPaginateTypeDef#

# ListLaunchesRequestListLaunchesPaginateTypeDef definition

class ListLaunchesRequestListLaunchesPaginateTypeDef(TypedDict):
    project: str,
    status: NotRequired[LaunchStatusType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See LaunchStatusType
  2. See PaginatorConfigTypeDef

ListProjectsRequestListProjectsPaginateTypeDef#

# ListProjectsRequestListProjectsPaginateTypeDef definition

class ListProjectsRequestListProjectsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListSegmentReferencesRequestListSegmentReferencesPaginateTypeDef#

# ListSegmentReferencesRequestListSegmentReferencesPaginateTypeDef definition

class ListSegmentReferencesRequestListSegmentReferencesPaginateTypeDef(TypedDict):
    segment: str,
    type: SegmentReferenceResourceTypeType,  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See SegmentReferenceResourceTypeType
  2. See PaginatorConfigTypeDef

ListSegmentsRequestListSegmentsPaginateTypeDef#

# ListSegmentsRequestListSegmentsPaginateTypeDef definition

class ListSegmentsRequestListSegmentsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListProjectsResponseTypeDef#

# ListProjectsResponseTypeDef definition

class ListProjectsResponseTypeDef(TypedDict):
    projects: List[ProjectSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See ProjectSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListSegmentReferencesResponseTypeDef#

# ListSegmentReferencesResponseTypeDef definition

class ListSegmentReferencesResponseTypeDef(TypedDict):
    referencedBy: List[RefResourceTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See RefResourceTypeDef
  2. See ResponseMetadataTypeDef

MetricGoalConfigTypeDef#

# MetricGoalConfigTypeDef definition

class MetricGoalConfigTypeDef(TypedDict):
    metricDefinition: MetricDefinitionConfigTypeDef,  # (2)
    desiredChange: NotRequired[ChangeDirectionEnumType],  # (1)
  1. See ChangeDirectionEnumType
  2. See MetricDefinitionConfigTypeDef

MetricMonitorConfigTypeDef#

# MetricMonitorConfigTypeDef definition

class MetricMonitorConfigTypeDef(TypedDict):
    metricDefinition: MetricDefinitionConfigTypeDef,  # (1)
  1. See MetricDefinitionConfigTypeDef

MetricGoalTypeDef#

# MetricGoalTypeDef definition

class MetricGoalTypeDef(TypedDict):
    metricDefinition: MetricDefinitionTypeDef,  # (2)
    desiredChange: NotRequired[ChangeDirectionEnumType],  # (1)
  1. See ChangeDirectionEnumType
  2. See MetricDefinitionTypeDef

MetricMonitorTypeDef#

# MetricMonitorTypeDef definition

class MetricMonitorTypeDef(TypedDict):
    metricDefinition: MetricDefinitionTypeDef,  # (1)
  1. See MetricDefinitionTypeDef

ProjectDataDeliveryConfigTypeDef#

# ProjectDataDeliveryConfigTypeDef definition

class ProjectDataDeliveryConfigTypeDef(TypedDict):
    cloudWatchLogs: NotRequired[CloudWatchLogsDestinationConfigTypeDef],  # (1)
    s3Destination: NotRequired[S3DestinationConfigTypeDef],  # (2)
  1. See CloudWatchLogsDestinationConfigTypeDef
  2. See S3DestinationConfigTypeDef

UpdateProjectDataDeliveryRequestRequestTypeDef#

# UpdateProjectDataDeliveryRequestRequestTypeDef definition

class UpdateProjectDataDeliveryRequestRequestTypeDef(TypedDict):
    project: str,
    cloudWatchLogs: NotRequired[CloudWatchLogsDestinationConfigTypeDef],  # (1)
    s3Destination: NotRequired[S3DestinationConfigTypeDef],  # (2)
  1. See CloudWatchLogsDestinationConfigTypeDef
  2. See S3DestinationConfigTypeDef

ProjectDataDeliveryTypeDef#

# ProjectDataDeliveryTypeDef definition

class ProjectDataDeliveryTypeDef(TypedDict):
    cloudWatchLogs: NotRequired[CloudWatchLogsDestinationTypeDef],  # (1)
    s3Destination: NotRequired[S3DestinationTypeDef],  # (2)
  1. See CloudWatchLogsDestinationTypeDef
  2. See S3DestinationTypeDef

PutProjectEventsResponseTypeDef#

# PutProjectEventsResponseTypeDef definition

class PutProjectEventsResponseTypeDef(TypedDict):
    eventResults: List[PutProjectEventsResultEntryTypeDef],  # (1)
    failedEventCount: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PutProjectEventsResultEntryTypeDef
  2. See ResponseMetadataTypeDef

ScheduledSplitTypeDef#

# ScheduledSplitTypeDef definition

class ScheduledSplitTypeDef(TypedDict):
    startTime: datetime,
    groupWeights: NotRequired[Dict[str, int]],
    segmentOverrides: NotRequired[List[SegmentOverrideOutputTypeDef]],  # (1)
  1. See SegmentOverrideOutputTypeDef

BatchEvaluateFeatureResponseTypeDef#

# BatchEvaluateFeatureResponseTypeDef definition

class BatchEvaluateFeatureResponseTypeDef(TypedDict):
    results: List[EvaluationResultTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EvaluationResultTypeDef
  2. See ResponseMetadataTypeDef

CreateFeatureRequestRequestTypeDef#

# CreateFeatureRequestRequestTypeDef definition

class CreateFeatureRequestRequestTypeDef(TypedDict):
    name: str,
    project: str,
    variations: Sequence[VariationConfigTypeDef],  # (1)
    defaultVariation: NotRequired[str],
    description: NotRequired[str],
    entityOverrides: NotRequired[Mapping[str, str]],
    evaluationStrategy: NotRequired[FeatureEvaluationStrategyType],  # (2)
    tags: NotRequired[Mapping[str, str]],
  1. See VariationConfigTypeDef
  2. See FeatureEvaluationStrategyType

UpdateFeatureRequestRequestTypeDef#

# UpdateFeatureRequestRequestTypeDef definition

class UpdateFeatureRequestRequestTypeDef(TypedDict):
    feature: str,
    project: str,
    addOrUpdateVariations: NotRequired[Sequence[VariationConfigTypeDef]],  # (1)
    defaultVariation: NotRequired[str],
    description: NotRequired[str],
    entityOverrides: NotRequired[Mapping[str, str]],
    evaluationStrategy: NotRequired[FeatureEvaluationStrategyType],  # (2)
    removeVariations: NotRequired[Sequence[str]],
  1. See VariationConfigTypeDef
  2. See FeatureEvaluationStrategyType

FeatureTypeDef#

# FeatureTypeDef definition

class FeatureTypeDef(TypedDict):
    arn: str,
    createdTime: datetime,
    evaluationStrategy: FeatureEvaluationStrategyType,  # (2)
    lastUpdatedTime: datetime,
    name: str,
    status: FeatureStatusType,  # (3)
    valueType: VariationValueTypeType,  # (4)
    variations: List[VariationTypeDef],  # (5)
    defaultVariation: NotRequired[str],
    description: NotRequired[str],
    entityOverrides: NotRequired[Dict[str, str]],
    evaluationRules: NotRequired[List[EvaluationRuleTypeDef]],  # (1)
    project: NotRequired[str],
    tags: NotRequired[Dict[str, str]],
  1. See EvaluationRuleTypeDef
  2. See FeatureEvaluationStrategyType
  3. See FeatureStatusType
  4. See VariationValueTypeType
  5. See VariationTypeDef

ListFeaturesResponseTypeDef#

# ListFeaturesResponseTypeDef definition

class ListFeaturesResponseTypeDef(TypedDict):
    features: List[FeatureSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See FeatureSummaryTypeDef
  2. See ResponseMetadataTypeDef

PutProjectEventsRequestRequestTypeDef#

# PutProjectEventsRequestRequestTypeDef definition

class PutProjectEventsRequestRequestTypeDef(TypedDict):
    events: Sequence[EventTypeDef],  # (1)
    project: str,
  1. See EventTypeDef

CreateExperimentRequestRequestTypeDef#

# CreateExperimentRequestRequestTypeDef definition

class CreateExperimentRequestRequestTypeDef(TypedDict):
    metricGoals: Sequence[MetricGoalConfigTypeDef],  # (1)
    name: str,
    project: str,
    treatments: Sequence[TreatmentConfigTypeDef],  # (2)
    description: NotRequired[str],
    onlineAbConfig: NotRequired[OnlineAbConfigTypeDef],  # (3)
    randomizationSalt: NotRequired[str],
    samplingRate: NotRequired[int],
    segment: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
  1. See MetricGoalConfigTypeDef
  2. See TreatmentConfigTypeDef
  3. See OnlineAbConfigTypeDef

UpdateExperimentRequestRequestTypeDef#

# UpdateExperimentRequestRequestTypeDef definition

class UpdateExperimentRequestRequestTypeDef(TypedDict):
    experiment: str,
    project: str,
    description: NotRequired[str],
    metricGoals: NotRequired[Sequence[MetricGoalConfigTypeDef]],  # (1)
    onlineAbConfig: NotRequired[OnlineAbConfigTypeDef],  # (2)
    randomizationSalt: NotRequired[str],
    removeSegment: NotRequired[bool],
    samplingRate: NotRequired[int],
    segment: NotRequired[str],
    treatments: NotRequired[Sequence[TreatmentConfigTypeDef]],  # (3)
  1. See MetricGoalConfigTypeDef
  2. See OnlineAbConfigTypeDef
  3. See TreatmentConfigTypeDef

ExperimentTypeDef#

# ExperimentTypeDef definition

class ExperimentTypeDef(TypedDict):
    arn: str,
    createdTime: datetime,
    lastUpdatedTime: datetime,
    name: str,
    status: ExperimentStatusType,  # (5)
    type: ExperimentTypeType,  # (7)
    description: NotRequired[str],
    execution: NotRequired[ExperimentExecutionTypeDef],  # (1)
    metricGoals: NotRequired[List[MetricGoalTypeDef]],  # (2)
    onlineAbDefinition: NotRequired[OnlineAbDefinitionTypeDef],  # (3)
    project: NotRequired[str],
    randomizationSalt: NotRequired[str],
    samplingRate: NotRequired[int],
    schedule: NotRequired[ExperimentScheduleTypeDef],  # (4)
    segment: NotRequired[str],
    statusReason: NotRequired[str],
    tags: NotRequired[Dict[str, str]],
    treatments: NotRequired[List[TreatmentTypeDef]],  # (6)
  1. See ExperimentExecutionTypeDef
  2. See MetricGoalTypeDef
  3. See OnlineAbDefinitionTypeDef
  4. See ExperimentScheduleTypeDef
  5. See ExperimentStatusType
  6. See TreatmentTypeDef
  7. See ExperimentTypeType

CreateProjectRequestRequestTypeDef#

# CreateProjectRequestRequestTypeDef definition

class CreateProjectRequestRequestTypeDef(TypedDict):
    name: str,
    appConfigResource: NotRequired[ProjectAppConfigResourceConfigTypeDef],  # (1)
    dataDelivery: NotRequired[ProjectDataDeliveryConfigTypeDef],  # (2)
    description: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
  1. See ProjectAppConfigResourceConfigTypeDef
  2. See ProjectDataDeliveryConfigTypeDef

ProjectTypeDef#

# ProjectTypeDef definition

class ProjectTypeDef(TypedDict):
    arn: str,
    createdTime: datetime,
    lastUpdatedTime: datetime,
    name: str,
    status: ProjectStatusType,  # (3)
    activeExperimentCount: NotRequired[int],
    activeLaunchCount: NotRequired[int],
    appConfigResource: NotRequired[ProjectAppConfigResourceTypeDef],  # (1)
    dataDelivery: NotRequired[ProjectDataDeliveryTypeDef],  # (2)
    description: NotRequired[str],
    experimentCount: NotRequired[int],
    featureCount: NotRequired[int],
    launchCount: NotRequired[int],
    tags: NotRequired[Dict[str, str]],
  1. See ProjectAppConfigResourceTypeDef
  2. See ProjectDataDeliveryTypeDef
  3. See ProjectStatusType

ScheduledSplitsLaunchDefinitionTypeDef#

# ScheduledSplitsLaunchDefinitionTypeDef definition

class ScheduledSplitsLaunchDefinitionTypeDef(TypedDict):
    steps: NotRequired[List[ScheduledSplitTypeDef]],  # (1)
  1. See ScheduledSplitTypeDef

ScheduledSplitConfigTypeDef#

# ScheduledSplitConfigTypeDef definition

class ScheduledSplitConfigTypeDef(TypedDict):
    groupWeights: Mapping[str, int],
    startTime: TimestampTypeDef,
    segmentOverrides: NotRequired[Sequence[SegmentOverrideUnionTypeDef]],  # (1)
  1. See SegmentOverrideTypeDef SegmentOverrideOutputTypeDef

CreateFeatureResponseTypeDef#

# CreateFeatureResponseTypeDef definition

class CreateFeatureResponseTypeDef(TypedDict):
    feature: FeatureTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FeatureTypeDef
  2. See ResponseMetadataTypeDef

GetFeatureResponseTypeDef#

# GetFeatureResponseTypeDef definition

class GetFeatureResponseTypeDef(TypedDict):
    feature: FeatureTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FeatureTypeDef
  2. See ResponseMetadataTypeDef

UpdateFeatureResponseTypeDef#

# UpdateFeatureResponseTypeDef definition

class UpdateFeatureResponseTypeDef(TypedDict):
    feature: FeatureTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FeatureTypeDef
  2. See ResponseMetadataTypeDef

CreateExperimentResponseTypeDef#

# CreateExperimentResponseTypeDef definition

class CreateExperimentResponseTypeDef(TypedDict):
    experiment: ExperimentTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ExperimentTypeDef
  2. See ResponseMetadataTypeDef

GetExperimentResponseTypeDef#

# GetExperimentResponseTypeDef definition

class GetExperimentResponseTypeDef(TypedDict):
    experiment: ExperimentTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ExperimentTypeDef
  2. See ResponseMetadataTypeDef

ListExperimentsResponseTypeDef#

# ListExperimentsResponseTypeDef definition

class ListExperimentsResponseTypeDef(TypedDict):
    experiments: List[ExperimentTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See ExperimentTypeDef
  2. See ResponseMetadataTypeDef

UpdateExperimentResponseTypeDef#

# UpdateExperimentResponseTypeDef definition

class UpdateExperimentResponseTypeDef(TypedDict):
    experiment: ExperimentTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ExperimentTypeDef
  2. See ResponseMetadataTypeDef

CreateProjectResponseTypeDef#

# CreateProjectResponseTypeDef definition

class CreateProjectResponseTypeDef(TypedDict):
    project: ProjectTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProjectTypeDef
  2. See ResponseMetadataTypeDef

GetProjectResponseTypeDef#

# GetProjectResponseTypeDef definition

class GetProjectResponseTypeDef(TypedDict):
    project: ProjectTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProjectTypeDef
  2. See ResponseMetadataTypeDef

UpdateProjectDataDeliveryResponseTypeDef#

# UpdateProjectDataDeliveryResponseTypeDef definition

class UpdateProjectDataDeliveryResponseTypeDef(TypedDict):
    project: ProjectTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProjectTypeDef
  2. See ResponseMetadataTypeDef

UpdateProjectResponseTypeDef#

# UpdateProjectResponseTypeDef definition

class UpdateProjectResponseTypeDef(TypedDict):
    project: ProjectTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProjectTypeDef
  2. See ResponseMetadataTypeDef

LaunchTypeDef#

# LaunchTypeDef definition

class LaunchTypeDef(TypedDict):
    arn: str,
    createdTime: datetime,
    lastUpdatedTime: datetime,
    name: str,
    status: LaunchStatusType,  # (5)
    type: LaunchTypeType,  # (6)
    description: NotRequired[str],
    execution: NotRequired[LaunchExecutionTypeDef],  # (1)
    groups: NotRequired[List[LaunchGroupTypeDef]],  # (2)
    metricMonitors: NotRequired[List[MetricMonitorTypeDef]],  # (3)
    project: NotRequired[str],
    randomizationSalt: NotRequired[str],
    scheduledSplitsDefinition: NotRequired[ScheduledSplitsLaunchDefinitionTypeDef],  # (4)
    statusReason: NotRequired[str],
    tags: NotRequired[Dict[str, str]],
  1. See LaunchExecutionTypeDef
  2. See LaunchGroupTypeDef
  3. See MetricMonitorTypeDef
  4. See ScheduledSplitsLaunchDefinitionTypeDef
  5. See LaunchStatusType
  6. See LaunchTypeType

ScheduledSplitsLaunchConfigTypeDef#

# ScheduledSplitsLaunchConfigTypeDef definition

class ScheduledSplitsLaunchConfigTypeDef(TypedDict):
    steps: Sequence[ScheduledSplitConfigTypeDef],  # (1)
  1. See ScheduledSplitConfigTypeDef

CreateLaunchResponseTypeDef#

# CreateLaunchResponseTypeDef definition

class CreateLaunchResponseTypeDef(TypedDict):
    launch: LaunchTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LaunchTypeDef
  2. See ResponseMetadataTypeDef

GetLaunchResponseTypeDef#

# GetLaunchResponseTypeDef definition

class GetLaunchResponseTypeDef(TypedDict):
    launch: LaunchTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LaunchTypeDef
  2. See ResponseMetadataTypeDef

ListLaunchesResponseTypeDef#

# ListLaunchesResponseTypeDef definition

class ListLaunchesResponseTypeDef(TypedDict):
    launches: List[LaunchTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See LaunchTypeDef
  2. See ResponseMetadataTypeDef

StartLaunchResponseTypeDef#

# StartLaunchResponseTypeDef definition

class StartLaunchResponseTypeDef(TypedDict):
    launch: LaunchTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LaunchTypeDef
  2. See ResponseMetadataTypeDef

UpdateLaunchResponseTypeDef#

# UpdateLaunchResponseTypeDef definition

class UpdateLaunchResponseTypeDef(TypedDict):
    launch: LaunchTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LaunchTypeDef
  2. See ResponseMetadataTypeDef

CreateLaunchRequestRequestTypeDef#

# CreateLaunchRequestRequestTypeDef definition

class CreateLaunchRequestRequestTypeDef(TypedDict):
    groups: Sequence[LaunchGroupConfigTypeDef],  # (1)
    name: str,
    project: str,
    description: NotRequired[str],
    metricMonitors: NotRequired[Sequence[MetricMonitorConfigTypeDef]],  # (2)
    randomizationSalt: NotRequired[str],
    scheduledSplitsConfig: NotRequired[ScheduledSplitsLaunchConfigTypeDef],  # (3)
    tags: NotRequired[Mapping[str, str]],
  1. See LaunchGroupConfigTypeDef
  2. See MetricMonitorConfigTypeDef
  3. See ScheduledSplitsLaunchConfigTypeDef

UpdateLaunchRequestRequestTypeDef#

# UpdateLaunchRequestRequestTypeDef definition

class UpdateLaunchRequestRequestTypeDef(TypedDict):
    launch: str,
    project: str,
    description: NotRequired[str],
    groups: NotRequired[Sequence[LaunchGroupConfigTypeDef]],  # (1)
    metricMonitors: NotRequired[Sequence[MetricMonitorConfigTypeDef]],  # (2)
    randomizationSalt: NotRequired[str],
    scheduledSplitsConfig: NotRequired[ScheduledSplitsLaunchConfigTypeDef],  # (3)
  1. See LaunchGroupConfigTypeDef
  2. See MetricMonitorConfigTypeDef
  3. See ScheduledSplitsLaunchConfigTypeDef