Type definitions#
Index > CloudWatchEvidently > Type definitions
Auto-generated documentation for CloudWatchEvidently type annotations stubs module types-boto3-evidently.
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
SegmentOverrideUnionTypeDef#
# SegmentOverrideUnionTypeDef definition
SegmentOverrideUnionTypeDef = Union[
SegmentOverrideTypeDef, # (1)
SegmentOverrideOutputTypeDef, # (2)
]
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],
ExperimentResultsDataTypeDef#
# ExperimentResultsDataTypeDef definition
class ExperimentResultsDataTypeDef(TypedDict):
metricName: NotRequired[str],
resultStat: NotRequired[ExperimentResultResponseTypeType], # (1)
treatmentName: NotRequired[str],
values: NotRequired[list[float]],
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)
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)
- 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]],
ListSegmentReferencesRequestRequestTypeDef#
# ListSegmentReferencesRequestRequestTypeDef definition
class ListSegmentReferencesRequestRequestTypeDef(TypedDict):
segment: str,
type: SegmentReferenceResourceTypeType, # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
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],
StopLaunchRequestRequestTypeDef#
# StopLaunchRequestRequestTypeDef definition
class StopLaunchRequestRequestTypeDef(TypedDict):
launch: str,
project: str,
desiredState: NotRequired[LaunchStopDesiredStateType], # (1)
reason: NotRequired[str],
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)
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartExperimentResponseTypeDef#
# StartExperimentResponseTypeDef definition
class StartExperimentResponseTypeDef(TypedDict):
startedTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StopExperimentResponseTypeDef#
# StopExperimentResponseTypeDef definition
class StopExperimentResponseTypeDef(TypedDict):
endedTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StopLaunchResponseTypeDef#
# StopLaunchResponseTypeDef definition
class StopLaunchResponseTypeDef(TypedDict):
endedTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
TestSegmentPatternResponseTypeDef#
# TestSegmentPatternResponseTypeDef definition
class TestSegmentPatternResponseTypeDef(TypedDict):
match: bool,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateProjectRequestRequestTypeDef#
# UpdateProjectRequestRequestTypeDef definition
class UpdateProjectRequestRequestTypeDef(TypedDict):
project: str,
appConfigResource: NotRequired[ProjectAppConfigResourceConfigTypeDef], # (1)
description: NotRequired[str],
CreateSegmentResponseTypeDef#
# CreateSegmentResponseTypeDef definition
class CreateSegmentResponseTypeDef(TypedDict):
segment: SegmentTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetSegmentResponseTypeDef#
# GetSegmentResponseTypeDef definition
class GetSegmentResponseTypeDef(TypedDict):
segment: SegmentTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListSegmentsResponseTypeDef#
# ListSegmentsResponseTypeDef definition
class ListSegmentsResponseTypeDef(TypedDict):
segments: list[SegmentTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
EvaluateFeatureResponseTypeDef#
# EvaluateFeatureResponseTypeDef definition
class EvaluateFeatureResponseTypeDef(TypedDict):
details: str,
reason: str,
value: VariableValueTypeDef, # (1)
variation: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
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],
VariationConfigTypeDef#
# VariationConfigTypeDef definition
class VariationConfigTypeDef(TypedDict):
name: str,
value: VariableValueTypeDef, # (1)
VariationTypeDef#
# VariationTypeDef definition
class VariationTypeDef(TypedDict):
name: NotRequired[str],
value: NotRequired[VariableValueTypeDef], # (1)
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]],
EventTypeDef#
# EventTypeDef definition
class EventTypeDef(TypedDict):
data: str,
timestamp: TimestampTypeDef,
type: EventTypeType, # (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],
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)
ListExperimentsRequestPaginateTypeDef#
# ListExperimentsRequestPaginateTypeDef definition
class ListExperimentsRequestPaginateTypeDef(TypedDict):
project: str,
status: NotRequired[ExperimentStatusType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListFeaturesRequestPaginateTypeDef#
# ListFeaturesRequestPaginateTypeDef definition
class ListFeaturesRequestPaginateTypeDef(TypedDict):
project: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListLaunchesRequestPaginateTypeDef#
# ListLaunchesRequestPaginateTypeDef definition
class ListLaunchesRequestPaginateTypeDef(TypedDict):
project: str,
status: NotRequired[LaunchStatusType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListProjectsRequestPaginateTypeDef#
# ListProjectsRequestPaginateTypeDef definition
class ListProjectsRequestPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListSegmentReferencesRequestPaginateTypeDef#
# ListSegmentReferencesRequestPaginateTypeDef definition
class ListSegmentReferencesRequestPaginateTypeDef(TypedDict):
segment: str,
type: SegmentReferenceResourceTypeType, # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListSegmentsRequestPaginateTypeDef#
# ListSegmentsRequestPaginateTypeDef definition
class ListSegmentsRequestPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListProjectsResponseTypeDef#
# ListProjectsResponseTypeDef definition
class ListProjectsResponseTypeDef(TypedDict):
projects: list[ProjectSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListSegmentReferencesResponseTypeDef#
# ListSegmentReferencesResponseTypeDef definition
class ListSegmentReferencesResponseTypeDef(TypedDict):
referencedBy: list[RefResourceTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
MetricGoalConfigTypeDef#
# MetricGoalConfigTypeDef definition
class MetricGoalConfigTypeDef(TypedDict):
metricDefinition: MetricDefinitionConfigTypeDef, # (2)
desiredChange: NotRequired[ChangeDirectionEnumType], # (1)
MetricMonitorConfigTypeDef#
# MetricMonitorConfigTypeDef definition
class MetricMonitorConfigTypeDef(TypedDict):
metricDefinition: MetricDefinitionConfigTypeDef, # (1)
MetricGoalTypeDef#
# MetricGoalTypeDef definition
class MetricGoalTypeDef(TypedDict):
metricDefinition: MetricDefinitionTypeDef, # (2)
desiredChange: NotRequired[ChangeDirectionEnumType], # (1)
MetricMonitorTypeDef#
# MetricMonitorTypeDef definition
class MetricMonitorTypeDef(TypedDict):
metricDefinition: MetricDefinitionTypeDef, # (1)
ProjectDataDeliveryConfigTypeDef#
# ProjectDataDeliveryConfigTypeDef definition
class ProjectDataDeliveryConfigTypeDef(TypedDict):
cloudWatchLogs: NotRequired[CloudWatchLogsDestinationConfigTypeDef], # (1)
s3Destination: NotRequired[S3DestinationConfigTypeDef], # (2)
UpdateProjectDataDeliveryRequestRequestTypeDef#
# UpdateProjectDataDeliveryRequestRequestTypeDef definition
class UpdateProjectDataDeliveryRequestRequestTypeDef(TypedDict):
project: str,
cloudWatchLogs: NotRequired[CloudWatchLogsDestinationConfigTypeDef], # (1)
s3Destination: NotRequired[S3DestinationConfigTypeDef], # (2)
ProjectDataDeliveryTypeDef#
# ProjectDataDeliveryTypeDef definition
class ProjectDataDeliveryTypeDef(TypedDict):
cloudWatchLogs: NotRequired[CloudWatchLogsDestinationTypeDef], # (1)
s3Destination: NotRequired[S3DestinationTypeDef], # (2)
PutProjectEventsResponseTypeDef#
# PutProjectEventsResponseTypeDef definition
class PutProjectEventsResponseTypeDef(TypedDict):
eventResults: list[PutProjectEventsResultEntryTypeDef], # (1)
failedEventCount: int,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ScheduledSplitTypeDef#
# ScheduledSplitTypeDef definition
class ScheduledSplitTypeDef(TypedDict):
startTime: datetime,
groupWeights: NotRequired[dict[str, int]],
segmentOverrides: NotRequired[list[SegmentOverrideOutputTypeDef]], # (1)
BatchEvaluateFeatureResponseTypeDef#
# BatchEvaluateFeatureResponseTypeDef definition
class BatchEvaluateFeatureResponseTypeDef(TypedDict):
results: list[EvaluationResultTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
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]],
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]],
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]],
- See EvaluationRuleTypeDef
- See FeatureEvaluationStrategyType
- See FeatureStatusType
- See VariationValueTypeType
- See VariationTypeDef
ListFeaturesResponseTypeDef#
# ListFeaturesResponseTypeDef definition
class ListFeaturesResponseTypeDef(TypedDict):
features: list[FeatureSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
PutProjectEventsRequestRequestTypeDef#
# PutProjectEventsRequestRequestTypeDef definition
class PutProjectEventsRequestRequestTypeDef(TypedDict):
events: Sequence[EventTypeDef], # (1)
project: str,
- 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]],
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)
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)
- See ExperimentExecutionTypeDef
- See MetricGoalTypeDef
- See OnlineAbDefinitionTypeDef
- See ExperimentScheduleTypeDef
- See ExperimentStatusType
- See TreatmentTypeDef
- 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]],
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]],
ScheduledSplitsLaunchDefinitionTypeDef#
# ScheduledSplitsLaunchDefinitionTypeDef definition
class ScheduledSplitsLaunchDefinitionTypeDef(TypedDict):
steps: NotRequired[list[ScheduledSplitTypeDef]], # (1)
ScheduledSplitConfigTypeDef#
# ScheduledSplitConfigTypeDef definition
class ScheduledSplitConfigTypeDef(TypedDict):
groupWeights: Mapping[str, int],
startTime: TimestampTypeDef,
segmentOverrides: NotRequired[Sequence[SegmentOverrideUnionTypeDef]], # (1)
CreateFeatureResponseTypeDef#
# CreateFeatureResponseTypeDef definition
class CreateFeatureResponseTypeDef(TypedDict):
feature: FeatureTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetFeatureResponseTypeDef#
# GetFeatureResponseTypeDef definition
class GetFeatureResponseTypeDef(TypedDict):
feature: FeatureTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateFeatureResponseTypeDef#
# UpdateFeatureResponseTypeDef definition
class UpdateFeatureResponseTypeDef(TypedDict):
feature: FeatureTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateExperimentResponseTypeDef#
# CreateExperimentResponseTypeDef definition
class CreateExperimentResponseTypeDef(TypedDict):
experiment: ExperimentTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetExperimentResponseTypeDef#
# GetExperimentResponseTypeDef definition
class GetExperimentResponseTypeDef(TypedDict):
experiment: ExperimentTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListExperimentsResponseTypeDef#
# ListExperimentsResponseTypeDef definition
class ListExperimentsResponseTypeDef(TypedDict):
experiments: list[ExperimentTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
UpdateExperimentResponseTypeDef#
# UpdateExperimentResponseTypeDef definition
class UpdateExperimentResponseTypeDef(TypedDict):
experiment: ExperimentTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateProjectResponseTypeDef#
# CreateProjectResponseTypeDef definition
class CreateProjectResponseTypeDef(TypedDict):
project: ProjectTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetProjectResponseTypeDef#
# GetProjectResponseTypeDef definition
class GetProjectResponseTypeDef(TypedDict):
project: ProjectTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateProjectDataDeliveryResponseTypeDef#
# UpdateProjectDataDeliveryResponseTypeDef definition
class UpdateProjectDataDeliveryResponseTypeDef(TypedDict):
project: ProjectTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateProjectResponseTypeDef#
# UpdateProjectResponseTypeDef definition
class UpdateProjectResponseTypeDef(TypedDict):
project: ProjectTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
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]],
- See LaunchExecutionTypeDef
- See LaunchGroupTypeDef
- See MetricMonitorTypeDef
- See ScheduledSplitsLaunchDefinitionTypeDef
- See LaunchStatusType
- See LaunchTypeType
ScheduledSplitsLaunchConfigTypeDef#
# ScheduledSplitsLaunchConfigTypeDef definition
class ScheduledSplitsLaunchConfigTypeDef(TypedDict):
steps: Sequence[ScheduledSplitConfigTypeDef], # (1)
CreateLaunchResponseTypeDef#
# CreateLaunchResponseTypeDef definition
class CreateLaunchResponseTypeDef(TypedDict):
launch: LaunchTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See LaunchTypeDef
- See ResponseMetadataTypeDef
GetLaunchResponseTypeDef#
# GetLaunchResponseTypeDef definition
class GetLaunchResponseTypeDef(TypedDict):
launch: LaunchTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See LaunchTypeDef
- See ResponseMetadataTypeDef
ListLaunchesResponseTypeDef#
# ListLaunchesResponseTypeDef definition
class ListLaunchesResponseTypeDef(TypedDict):
launches: list[LaunchTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
- See LaunchTypeDef
- See ResponseMetadataTypeDef
StartLaunchResponseTypeDef#
# StartLaunchResponseTypeDef definition
class StartLaunchResponseTypeDef(TypedDict):
launch: LaunchTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See LaunchTypeDef
- See ResponseMetadataTypeDef
UpdateLaunchResponseTypeDef#
# UpdateLaunchResponseTypeDef definition
class UpdateLaunchResponseTypeDef(TypedDict):
launch: LaunchTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See LaunchTypeDef
- 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]],
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)