Type definitions#
Index > LookoutMetrics > Type definitions
Auto-generated documentation for LookoutMetrics type annotations stubs module mypy-boto3-lookoutmetrics.
CsvFormatDescriptorUnionTypeDef#
# CsvFormatDescriptorUnionTypeDef definition
CsvFormatDescriptorUnionTypeDef = Union[
CsvFormatDescriptorTypeDef, # (1)
CsvFormatDescriptorOutputTypeDef, # (2)
]
DimensionFilterUnionTypeDef#
# DimensionFilterUnionTypeDef definition
DimensionFilterUnionTypeDef = Union[
DimensionFilterTypeDef, # (1)
DimensionFilterOutputTypeDef, # (2)
]
VpcConfigurationUnionTypeDef#
# VpcConfigurationUnionTypeDef definition
VpcConfigurationUnionTypeDef = Union[
VpcConfigurationTypeDef, # (1)
VpcConfigurationOutputTypeDef, # (2)
]
MetricSetDimensionFilterUnionTypeDef#
# MetricSetDimensionFilterUnionTypeDef definition
MetricSetDimensionFilterUnionTypeDef = Union[
MetricSetDimensionFilterTypeDef, # (1)
MetricSetDimensionFilterOutputTypeDef, # (2)
]
FileFormatDescriptorUnionTypeDef#
# FileFormatDescriptorUnionTypeDef definition
FileFormatDescriptorUnionTypeDef = Union[
FileFormatDescriptorTypeDef, # (1)
FileFormatDescriptorOutputTypeDef, # (2)
]
RDSSourceConfigUnionTypeDef#
# RDSSourceConfigUnionTypeDef definition
RDSSourceConfigUnionTypeDef = Union[
RDSSourceConfigTypeDef, # (1)
RDSSourceConfigOutputTypeDef, # (2)
]
RedshiftSourceConfigUnionTypeDef#
# RedshiftSourceConfigUnionTypeDef definition
RedshiftSourceConfigUnionTypeDef = Union[
RedshiftSourceConfigTypeDef, # (1)
RedshiftSourceConfigOutputTypeDef, # (2)
]
S3SourceConfigUnionTypeDef#
# S3SourceConfigUnionTypeDef definition
S3SourceConfigUnionTypeDef = Union[
S3SourceConfigTypeDef, # (1)
S3SourceConfigOutputTypeDef, # (2)
]
LambdaConfigurationTypeDef#
# LambdaConfigurationTypeDef definition
class LambdaConfigurationTypeDef(TypedDict):
RoleArn: str,
LambdaArn: str,
SNSConfigurationTypeDef#
# SNSConfigurationTypeDef definition
class SNSConfigurationTypeDef(TypedDict):
RoleArn: str,
SnsTopicArn: str,
SnsFormat: NotRequired[SnsFormatType], # (1)
- See SnsFormatType
ActivateAnomalyDetectorRequestRequestTypeDef#
# ActivateAnomalyDetectorRequestRequestTypeDef definition
class ActivateAnomalyDetectorRequestRequestTypeDef(TypedDict):
AnomalyDetectorArn: str,
DimensionFilterOutputTypeDef#
# DimensionFilterOutputTypeDef definition
class DimensionFilterOutputTypeDef(TypedDict):
DimensionName: NotRequired[str],
DimensionValueList: NotRequired[list[str]],
AlertSummaryTypeDef#
# AlertSummaryTypeDef definition
class AlertSummaryTypeDef(TypedDict):
AlertArn: NotRequired[str],
AnomalyDetectorArn: NotRequired[str],
AlertName: NotRequired[str],
AlertSensitivityThreshold: NotRequired[int],
AlertType: NotRequired[AlertTypeType], # (1)
AlertStatus: NotRequired[AlertStatusType], # (2)
LastModificationTime: NotRequired[datetime],
CreationTime: NotRequired[datetime],
Tags: NotRequired[dict[str, str]],
- See AlertTypeType
- See AlertStatusType
AnomalyDetectorConfigSummaryTypeDef#
# AnomalyDetectorConfigSummaryTypeDef definition
class AnomalyDetectorConfigSummaryTypeDef(TypedDict):
AnomalyDetectorFrequency: NotRequired[FrequencyType], # (1)
- See FrequencyType
AnomalyDetectorConfigTypeDef#
# AnomalyDetectorConfigTypeDef definition
class AnomalyDetectorConfigTypeDef(TypedDict):
AnomalyDetectorFrequency: NotRequired[FrequencyType], # (1)
- See FrequencyType
AnomalyDetectorSummaryTypeDef#
# AnomalyDetectorSummaryTypeDef definition
class AnomalyDetectorSummaryTypeDef(TypedDict):
AnomalyDetectorArn: NotRequired[str],
AnomalyDetectorName: NotRequired[str],
AnomalyDetectorDescription: NotRequired[str],
CreationTime: NotRequired[datetime],
LastModificationTime: NotRequired[datetime],
Status: NotRequired[AnomalyDetectorStatusType], # (1)
Tags: NotRequired[dict[str, str]],
ItemizedMetricStatsTypeDef#
# ItemizedMetricStatsTypeDef definition
class ItemizedMetricStatsTypeDef(TypedDict):
MetricName: NotRequired[str],
OccurrenceCount: NotRequired[int],
AnomalyGroupSummaryTypeDef#
# AnomalyGroupSummaryTypeDef definition
class AnomalyGroupSummaryTypeDef(TypedDict):
StartTime: NotRequired[str],
EndTime: NotRequired[str],
AnomalyGroupId: NotRequired[str],
AnomalyGroupScore: NotRequired[float],
PrimaryMetricName: NotRequired[str],
AnomalyGroupTimeSeriesFeedbackTypeDef#
# AnomalyGroupTimeSeriesFeedbackTypeDef definition
class AnomalyGroupTimeSeriesFeedbackTypeDef(TypedDict):
AnomalyGroupId: str,
TimeSeriesId: str,
IsAnomaly: bool,
AnomalyGroupTimeSeriesTypeDef#
# AnomalyGroupTimeSeriesTypeDef definition
class AnomalyGroupTimeSeriesTypeDef(TypedDict):
AnomalyGroupId: str,
TimeSeriesId: NotRequired[str],
AppFlowConfigTypeDef#
# AppFlowConfigTypeDef definition
class AppFlowConfigTypeDef(TypedDict):
RoleArn: NotRequired[str],
FlowName: NotRequired[str],
BackTestConfigurationTypeDef#
# BackTestConfigurationTypeDef definition
class BackTestConfigurationTypeDef(TypedDict):
RunBackTestMode: bool,
AttributeValueTypeDef#
# AttributeValueTypeDef definition
class AttributeValueTypeDef(TypedDict):
S: NotRequired[str],
N: NotRequired[str],
B: NotRequired[str],
SS: NotRequired[list[str]],
NS: NotRequired[list[str]],
BS: NotRequired[list[str]],
AutoDetectionS3SourceConfigTypeDef#
# AutoDetectionS3SourceConfigTypeDef definition
class AutoDetectionS3SourceConfigTypeDef(TypedDict):
TemplatedPathList: NotRequired[Sequence[str]],
HistoricalDataPathList: NotRequired[Sequence[str]],
BackTestAnomalyDetectorRequestRequestTypeDef#
# BackTestAnomalyDetectorRequestRequestTypeDef definition
class BackTestAnomalyDetectorRequestRequestTypeDef(TypedDict):
AnomalyDetectorArn: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
MetricTypeDef#
# MetricTypeDef definition
class MetricTypeDef(TypedDict):
MetricName: str,
AggregationFunction: AggregationFunctionType, # (1)
Namespace: NotRequired[str],
TimestampColumnTypeDef#
# TimestampColumnTypeDef definition
class TimestampColumnTypeDef(TypedDict):
ColumnName: NotRequired[str],
ColumnFormat: NotRequired[str],
CsvFormatDescriptorOutputTypeDef#
# CsvFormatDescriptorOutputTypeDef definition
class CsvFormatDescriptorOutputTypeDef(TypedDict):
FileCompression: NotRequired[CSVFileCompressionType], # (1)
Charset: NotRequired[str],
ContainsHeader: NotRequired[bool],
Delimiter: NotRequired[str],
HeaderList: NotRequired[list[str]],
QuoteSymbol: NotRequired[str],
CsvFormatDescriptorTypeDef#
# CsvFormatDescriptorTypeDef definition
class CsvFormatDescriptorTypeDef(TypedDict):
FileCompression: NotRequired[CSVFileCompressionType], # (1)
Charset: NotRequired[str],
ContainsHeader: NotRequired[bool],
Delimiter: NotRequired[str],
HeaderList: NotRequired[Sequence[str]],
QuoteSymbol: NotRequired[str],
DataQualityMetricTypeDef#
# DataQualityMetricTypeDef definition
class DataQualityMetricTypeDef(TypedDict):
MetricType: NotRequired[DataQualityMetricTypeType], # (1)
MetricDescription: NotRequired[str],
RelatedColumnName: NotRequired[str],
MetricValue: NotRequired[float],
DeactivateAnomalyDetectorRequestRequestTypeDef#
# DeactivateAnomalyDetectorRequestRequestTypeDef definition
class DeactivateAnomalyDetectorRequestRequestTypeDef(TypedDict):
AnomalyDetectorArn: str,
DeleteAlertRequestRequestTypeDef#
# DeleteAlertRequestRequestTypeDef definition
class DeleteAlertRequestRequestTypeDef(TypedDict):
AlertArn: str,
DeleteAnomalyDetectorRequestRequestTypeDef#
# DeleteAnomalyDetectorRequestRequestTypeDef definition
class DeleteAnomalyDetectorRequestRequestTypeDef(TypedDict):
AnomalyDetectorArn: str,
DescribeAlertRequestRequestTypeDef#
# DescribeAlertRequestRequestTypeDef definition
class DescribeAlertRequestRequestTypeDef(TypedDict):
AlertArn: str,
DescribeAnomalyDetectionExecutionsRequestRequestTypeDef#
# DescribeAnomalyDetectionExecutionsRequestRequestTypeDef definition
class DescribeAnomalyDetectionExecutionsRequestRequestTypeDef(TypedDict):
AnomalyDetectorArn: str,
Timestamp: NotRequired[str],
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ExecutionStatusTypeDef#
# ExecutionStatusTypeDef definition
class ExecutionStatusTypeDef(TypedDict):
Timestamp: NotRequired[str],
Status: NotRequired[AnomalyDetectionTaskStatusType], # (1)
FailureReason: NotRequired[str],
DescribeAnomalyDetectorRequestRequestTypeDef#
# DescribeAnomalyDetectorRequestRequestTypeDef definition
class DescribeAnomalyDetectorRequestRequestTypeDef(TypedDict):
AnomalyDetectorArn: str,
DescribeMetricSetRequestRequestTypeDef#
# DescribeMetricSetRequestRequestTypeDef definition
class DescribeMetricSetRequestRequestTypeDef(TypedDict):
MetricSetArn: str,
DimensionValueContributionTypeDef#
# DimensionValueContributionTypeDef definition
class DimensionValueContributionTypeDef(TypedDict):
DimensionValue: NotRequired[str],
ContributionScore: NotRequired[float],
DimensionFilterTypeDef#
# DimensionFilterTypeDef definition
class DimensionFilterTypeDef(TypedDict):
DimensionName: NotRequired[str],
DimensionValueList: NotRequired[Sequence[str]],
DimensionNameValueTypeDef#
# DimensionNameValueTypeDef definition
class DimensionNameValueTypeDef(TypedDict):
DimensionName: str,
DimensionValue: str,
JsonFormatDescriptorTypeDef#
# JsonFormatDescriptorTypeDef definition
class JsonFormatDescriptorTypeDef(TypedDict):
FileCompression: NotRequired[JsonFileCompressionType], # (1)
Charset: NotRequired[str],
FilterTypeDef#
# FilterTypeDef definition
class FilterTypeDef(TypedDict):
DimensionValue: NotRequired[str],
FilterOperation: NotRequired[FilterOperationType], # (1)
GetAnomalyGroupRequestRequestTypeDef#
# GetAnomalyGroupRequestRequestTypeDef definition
class GetAnomalyGroupRequestRequestTypeDef(TypedDict):
AnomalyGroupId: str,
AnomalyDetectorArn: str,
GetDataQualityMetricsRequestRequestTypeDef#
# GetDataQualityMetricsRequestRequestTypeDef definition
class GetDataQualityMetricsRequestRequestTypeDef(TypedDict):
AnomalyDetectorArn: str,
MetricSetArn: NotRequired[str],
TimeSeriesFeedbackTypeDef#
# TimeSeriesFeedbackTypeDef definition
class TimeSeriesFeedbackTypeDef(TypedDict):
TimeSeriesId: NotRequired[str],
IsAnomaly: NotRequired[bool],
InterMetricImpactDetailsTypeDef#
# InterMetricImpactDetailsTypeDef definition
class InterMetricImpactDetailsTypeDef(TypedDict):
MetricName: NotRequired[str],
AnomalyGroupId: NotRequired[str],
RelationshipType: NotRequired[RelationshipTypeType], # (1)
ContributionPercentage: NotRequired[float],
ListAlertsRequestRequestTypeDef#
# ListAlertsRequestRequestTypeDef definition
class ListAlertsRequestRequestTypeDef(TypedDict):
AnomalyDetectorArn: NotRequired[str],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ListAnomalyDetectorsRequestRequestTypeDef#
# ListAnomalyDetectorsRequestRequestTypeDef definition
class ListAnomalyDetectorsRequestRequestTypeDef(TypedDict):
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListAnomalyGroupRelatedMetricsRequestRequestTypeDef#
# ListAnomalyGroupRelatedMetricsRequestRequestTypeDef definition
class ListAnomalyGroupRelatedMetricsRequestRequestTypeDef(TypedDict):
AnomalyDetectorArn: str,
AnomalyGroupId: str,
RelationshipTypeFilter: NotRequired[RelationshipTypeType], # (1)
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListAnomalyGroupSummariesRequestRequestTypeDef#
# ListAnomalyGroupSummariesRequestRequestTypeDef definition
class ListAnomalyGroupSummariesRequestRequestTypeDef(TypedDict):
AnomalyDetectorArn: str,
SensitivityThreshold: int,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListAnomalyGroupTimeSeriesRequestRequestTypeDef#
# ListAnomalyGroupTimeSeriesRequestRequestTypeDef definition
class ListAnomalyGroupTimeSeriesRequestRequestTypeDef(TypedDict):
AnomalyDetectorArn: str,
AnomalyGroupId: str,
MetricName: str,
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListMetricSetsRequestRequestTypeDef#
# ListMetricSetsRequestRequestTypeDef definition
class ListMetricSetsRequestRequestTypeDef(TypedDict):
AnomalyDetectorArn: NotRequired[str],
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
MetricSetSummaryTypeDef#
# MetricSetSummaryTypeDef definition
class MetricSetSummaryTypeDef(TypedDict):
MetricSetArn: NotRequired[str],
AnomalyDetectorArn: NotRequired[str],
MetricSetDescription: NotRequired[str],
MetricSetName: NotRequired[str],
CreationTime: NotRequired[datetime],
LastModificationTime: NotRequired[datetime],
Tags: NotRequired[dict[str, str]],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
VpcConfigurationOutputTypeDef#
# VpcConfigurationOutputTypeDef definition
class VpcConfigurationOutputTypeDef(TypedDict):
SubnetIdList: list[str],
SecurityGroupIdList: list[str],
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
Tags: Mapping[str, str],
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
TagKeys: Sequence[str],
VpcConfigurationTypeDef#
# VpcConfigurationTypeDef definition
class VpcConfigurationTypeDef(TypedDict):
SubnetIdList: Sequence[str],
SecurityGroupIdList: Sequence[str],
ActionTypeDef#
# ActionTypeDef definition
class ActionTypeDef(TypedDict):
SNSConfiguration: NotRequired[SNSConfigurationTypeDef], # (1)
LambdaConfiguration: NotRequired[LambdaConfigurationTypeDef], # (2)
AlertFiltersOutputTypeDef#
# AlertFiltersOutputTypeDef definition
class AlertFiltersOutputTypeDef(TypedDict):
MetricList: NotRequired[list[str]],
DimensionFilterList: NotRequired[list[DimensionFilterOutputTypeDef]], # (1)
CreateAnomalyDetectorRequestRequestTypeDef#
# CreateAnomalyDetectorRequestRequestTypeDef definition
class CreateAnomalyDetectorRequestRequestTypeDef(TypedDict):
AnomalyDetectorName: str,
AnomalyDetectorConfig: AnomalyDetectorConfigTypeDef, # (1)
AnomalyDetectorDescription: NotRequired[str],
KmsKeyArn: NotRequired[str],
Tags: NotRequired[Mapping[str, str]],
UpdateAnomalyDetectorRequestRequestTypeDef#
# UpdateAnomalyDetectorRequestRequestTypeDef definition
class UpdateAnomalyDetectorRequestRequestTypeDef(TypedDict):
AnomalyDetectorArn: str,
KmsKeyArn: NotRequired[str],
AnomalyDetectorDescription: NotRequired[str],
AnomalyDetectorConfig: NotRequired[AnomalyDetectorConfigTypeDef], # (1)
AnomalyGroupStatisticsTypeDef#
# AnomalyGroupStatisticsTypeDef definition
class AnomalyGroupStatisticsTypeDef(TypedDict):
EvaluationStartDate: NotRequired[str],
TotalCount: NotRequired[int],
ItemizedMetricStatsList: NotRequired[list[ItemizedMetricStatsTypeDef]], # (1)
PutFeedbackRequestRequestTypeDef#
# PutFeedbackRequestRequestTypeDef definition
class PutFeedbackRequestRequestTypeDef(TypedDict):
AnomalyDetectorArn: str,
AnomalyGroupTimeSeriesFeedback: AnomalyGroupTimeSeriesFeedbackTypeDef, # (1)
GetFeedbackRequestRequestTypeDef#
# GetFeedbackRequestRequestTypeDef definition
class GetFeedbackRequestRequestTypeDef(TypedDict):
AnomalyDetectorArn: str,
AnomalyGroupTimeSeriesFeedback: AnomalyGroupTimeSeriesTypeDef, # (1)
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
AthenaSourceConfigTypeDef#
# AthenaSourceConfigTypeDef definition
class AthenaSourceConfigTypeDef(TypedDict):
RoleArn: NotRequired[str],
DatabaseName: NotRequired[str],
DataCatalog: NotRequired[str],
TableName: NotRequired[str],
WorkGroupName: NotRequired[str],
S3ResultsPath: NotRequired[str],
BackTestConfiguration: NotRequired[BackTestConfigurationTypeDef], # (1)
CloudWatchConfigTypeDef#
# CloudWatchConfigTypeDef definition
class CloudWatchConfigTypeDef(TypedDict):
RoleArn: NotRequired[str],
BackTestConfiguration: NotRequired[BackTestConfigurationTypeDef], # (1)
DetectedFieldTypeDef#
# DetectedFieldTypeDef definition
class DetectedFieldTypeDef(TypedDict):
Value: NotRequired[AttributeValueTypeDef], # (1)
Confidence: NotRequired[ConfidenceType], # (2)
Message: NotRequired[str],
- See AttributeValueTypeDef
- See ConfidenceType
AutoDetectionMetricSourceTypeDef#
# AutoDetectionMetricSourceTypeDef definition
class AutoDetectionMetricSourceTypeDef(TypedDict):
S3SourceConfig: NotRequired[AutoDetectionS3SourceConfigTypeDef], # (1)
CreateAlertResponseTypeDef#
# CreateAlertResponseTypeDef definition
class CreateAlertResponseTypeDef(TypedDict):
AlertArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateAnomalyDetectorResponseTypeDef#
# CreateAnomalyDetectorResponseTypeDef definition
class CreateAnomalyDetectorResponseTypeDef(TypedDict):
AnomalyDetectorArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateMetricSetResponseTypeDef#
# CreateMetricSetResponseTypeDef definition
class CreateMetricSetResponseTypeDef(TypedDict):
MetricSetArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeAnomalyDetectorResponseTypeDef#
# DescribeAnomalyDetectorResponseTypeDef definition
class DescribeAnomalyDetectorResponseTypeDef(TypedDict):
AnomalyDetectorArn: str,
AnomalyDetectorName: str,
AnomalyDetectorDescription: str,
AnomalyDetectorConfig: AnomalyDetectorConfigSummaryTypeDef, # (1)
CreationTime: datetime,
LastModificationTime: datetime,
Status: AnomalyDetectorStatusType, # (2)
FailureReason: str,
KmsKeyArn: str,
FailureType: AnomalyDetectorFailureTypeType, # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See AnomalyDetectorConfigSummaryTypeDef
- See AnomalyDetectorStatusType
- See AnomalyDetectorFailureTypeType
- See ResponseMetadataTypeDef
GetSampleDataResponseTypeDef#
# GetSampleDataResponseTypeDef definition
class GetSampleDataResponseTypeDef(TypedDict):
HeaderValues: list[str],
SampleRows: list[list[str]],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListAlertsResponseTypeDef#
# ListAlertsResponseTypeDef definition
class ListAlertsResponseTypeDef(TypedDict):
AlertSummaryList: list[AlertSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListAnomalyDetectorsResponseTypeDef#
# ListAnomalyDetectorsResponseTypeDef definition
class ListAnomalyDetectorsResponseTypeDef(TypedDict):
AnomalyDetectorSummaryList: list[AnomalyDetectorSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
Tags: dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateAlertResponseTypeDef#
# UpdateAlertResponseTypeDef definition
class UpdateAlertResponseTypeDef(TypedDict):
AlertArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateAnomalyDetectorResponseTypeDef#
# UpdateAnomalyDetectorResponseTypeDef definition
class UpdateAnomalyDetectorResponseTypeDef(TypedDict):
AnomalyDetectorArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateMetricSetResponseTypeDef#
# UpdateMetricSetResponseTypeDef definition
class UpdateMetricSetResponseTypeDef(TypedDict):
MetricSetArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
MetricSetDataQualityMetricTypeDef#
# MetricSetDataQualityMetricTypeDef definition
class MetricSetDataQualityMetricTypeDef(TypedDict):
MetricSetArn: NotRequired[str],
DataQualityMetricList: NotRequired[list[DataQualityMetricTypeDef]], # (1)
DescribeAnomalyDetectionExecutionsResponseTypeDef#
# DescribeAnomalyDetectionExecutionsResponseTypeDef definition
class DescribeAnomalyDetectionExecutionsResponseTypeDef(TypedDict):
ExecutionList: list[ExecutionStatusTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
DimensionContributionTypeDef#
# DimensionContributionTypeDef definition
class DimensionContributionTypeDef(TypedDict):
DimensionName: NotRequired[str],
DimensionValueContributionList: NotRequired[list[DimensionValueContributionTypeDef]], # (1)
TimeSeriesTypeDef#
# TimeSeriesTypeDef definition
class TimeSeriesTypeDef(TypedDict):
TimeSeriesId: str,
DimensionList: list[DimensionNameValueTypeDef], # (1)
MetricValueList: list[float],
FileFormatDescriptorOutputTypeDef#
# FileFormatDescriptorOutputTypeDef definition
class FileFormatDescriptorOutputTypeDef(TypedDict):
CsvFormatDescriptor: NotRequired[CsvFormatDescriptorOutputTypeDef], # (1)
JsonFormatDescriptor: NotRequired[JsonFormatDescriptorTypeDef], # (2)
MetricSetDimensionFilterOutputTypeDef#
# MetricSetDimensionFilterOutputTypeDef definition
class MetricSetDimensionFilterOutputTypeDef(TypedDict):
Name: NotRequired[str],
FilterList: NotRequired[list[FilterTypeDef]], # (1)
- See FilterTypeDef
MetricSetDimensionFilterTypeDef#
# MetricSetDimensionFilterTypeDef definition
class MetricSetDimensionFilterTypeDef(TypedDict):
Name: NotRequired[str],
FilterList: NotRequired[Sequence[FilterTypeDef]], # (1)
- See FilterTypeDef
GetFeedbackResponseTypeDef#
# GetFeedbackResponseTypeDef definition
class GetFeedbackResponseTypeDef(TypedDict):
AnomalyGroupTimeSeriesFeedback: list[TimeSeriesFeedbackTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListAnomalyGroupRelatedMetricsResponseTypeDef#
# ListAnomalyGroupRelatedMetricsResponseTypeDef definition
class ListAnomalyGroupRelatedMetricsResponseTypeDef(TypedDict):
InterMetricImpactList: list[InterMetricImpactDetailsTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
ListMetricSetsResponseTypeDef#
# ListMetricSetsResponseTypeDef definition
class ListMetricSetsResponseTypeDef(TypedDict):
MetricSetSummaryList: list[MetricSetSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
RDSSourceConfigOutputTypeDef#
# RDSSourceConfigOutputTypeDef definition
class RDSSourceConfigOutputTypeDef(TypedDict):
DBInstanceIdentifier: NotRequired[str],
DatabaseHost: NotRequired[str],
DatabasePort: NotRequired[int],
SecretManagerArn: NotRequired[str],
DatabaseName: NotRequired[str],
TableName: NotRequired[str],
RoleArn: NotRequired[str],
VpcConfiguration: NotRequired[VpcConfigurationOutputTypeDef], # (1)
RedshiftSourceConfigOutputTypeDef#
# RedshiftSourceConfigOutputTypeDef definition
class RedshiftSourceConfigOutputTypeDef(TypedDict):
ClusterIdentifier: NotRequired[str],
DatabaseHost: NotRequired[str],
DatabasePort: NotRequired[int],
SecretManagerArn: NotRequired[str],
DatabaseName: NotRequired[str],
TableName: NotRequired[str],
RoleArn: NotRequired[str],
VpcConfiguration: NotRequired[VpcConfigurationOutputTypeDef], # (1)
AlertTypeDef#
# AlertTypeDef definition
class AlertTypeDef(TypedDict):
Action: NotRequired[ActionTypeDef], # (1)
AlertDescription: NotRequired[str],
AlertArn: NotRequired[str],
AnomalyDetectorArn: NotRequired[str],
AlertName: NotRequired[str],
AlertSensitivityThreshold: NotRequired[int],
AlertType: NotRequired[AlertTypeType], # (2)
AlertStatus: NotRequired[AlertStatusType], # (3)
LastModificationTime: NotRequired[datetime],
CreationTime: NotRequired[datetime],
AlertFilters: NotRequired[AlertFiltersOutputTypeDef], # (4)
- See ActionTypeDef
- See AlertTypeType
- See AlertStatusType
- See AlertFiltersOutputTypeDef
ListAnomalyGroupSummariesResponseTypeDef#
# ListAnomalyGroupSummariesResponseTypeDef definition
class ListAnomalyGroupSummariesResponseTypeDef(TypedDict):
AnomalyGroupSummaryList: list[AnomalyGroupSummaryTypeDef], # (1)
AnomalyGroupStatistics: AnomalyGroupStatisticsTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
NextToken: NotRequired[str],
DetectedCsvFormatDescriptorTypeDef#
# DetectedCsvFormatDescriptorTypeDef definition
class DetectedCsvFormatDescriptorTypeDef(TypedDict):
FileCompression: NotRequired[DetectedFieldTypeDef], # (1)
Charset: NotRequired[DetectedFieldTypeDef], # (1)
ContainsHeader: NotRequired[DetectedFieldTypeDef], # (1)
Delimiter: NotRequired[DetectedFieldTypeDef], # (1)
HeaderList: NotRequired[DetectedFieldTypeDef], # (1)
QuoteSymbol: NotRequired[DetectedFieldTypeDef], # (1)
- See DetectedFieldTypeDef
- See DetectedFieldTypeDef
- See DetectedFieldTypeDef
- See DetectedFieldTypeDef
- See DetectedFieldTypeDef
- See DetectedFieldTypeDef
DetectedJsonFormatDescriptorTypeDef#
# DetectedJsonFormatDescriptorTypeDef definition
class DetectedJsonFormatDescriptorTypeDef(TypedDict):
FileCompression: NotRequired[DetectedFieldTypeDef], # (1)
Charset: NotRequired[DetectedFieldTypeDef], # (1)
DetectMetricSetConfigRequestRequestTypeDef#
# DetectMetricSetConfigRequestRequestTypeDef definition
class DetectMetricSetConfigRequestRequestTypeDef(TypedDict):
AnomalyDetectorArn: str,
AutoDetectionMetricSource: AutoDetectionMetricSourceTypeDef, # (1)
FileFormatDescriptorTypeDef#
# FileFormatDescriptorTypeDef definition
class FileFormatDescriptorTypeDef(TypedDict):
CsvFormatDescriptor: NotRequired[CsvFormatDescriptorUnionTypeDef], # (1)
JsonFormatDescriptor: NotRequired[JsonFormatDescriptorTypeDef], # (2)
AnomalyDetectorDataQualityMetricTypeDef#
# AnomalyDetectorDataQualityMetricTypeDef definition
class AnomalyDetectorDataQualityMetricTypeDef(TypedDict):
StartTimestamp: NotRequired[datetime],
MetricSetDataQualityMetricList: NotRequired[list[MetricSetDataQualityMetricTypeDef]], # (1)
ContributionMatrixTypeDef#
# ContributionMatrixTypeDef definition
class ContributionMatrixTypeDef(TypedDict):
DimensionContributionList: NotRequired[list[DimensionContributionTypeDef]], # (1)
AlertFiltersTypeDef#
# AlertFiltersTypeDef definition
class AlertFiltersTypeDef(TypedDict):
MetricList: NotRequired[Sequence[str]],
DimensionFilterList: NotRequired[Sequence[DimensionFilterUnionTypeDef]], # (1)
ListAnomalyGroupTimeSeriesResponseTypeDef#
# ListAnomalyGroupTimeSeriesResponseTypeDef definition
class ListAnomalyGroupTimeSeriesResponseTypeDef(TypedDict):
AnomalyGroupId: str,
MetricName: str,
TimestampList: list[str],
TimeSeriesList: list[TimeSeriesTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
S3SourceConfigOutputTypeDef#
# S3SourceConfigOutputTypeDef definition
class S3SourceConfigOutputTypeDef(TypedDict):
RoleArn: NotRequired[str],
TemplatedPathList: NotRequired[list[str]],
HistoricalDataPathList: NotRequired[list[str]],
FileFormatDescriptor: NotRequired[FileFormatDescriptorOutputTypeDef], # (1)
RDSSourceConfigTypeDef#
# RDSSourceConfigTypeDef definition
class RDSSourceConfigTypeDef(TypedDict):
DBInstanceIdentifier: NotRequired[str],
DatabaseHost: NotRequired[str],
DatabasePort: NotRequired[int],
SecretManagerArn: NotRequired[str],
DatabaseName: NotRequired[str],
TableName: NotRequired[str],
RoleArn: NotRequired[str],
VpcConfiguration: NotRequired[VpcConfigurationUnionTypeDef], # (1)
RedshiftSourceConfigTypeDef#
# RedshiftSourceConfigTypeDef definition
class RedshiftSourceConfigTypeDef(TypedDict):
ClusterIdentifier: NotRequired[str],
DatabaseHost: NotRequired[str],
DatabasePort: NotRequired[int],
SecretManagerArn: NotRequired[str],
DatabaseName: NotRequired[str],
TableName: NotRequired[str],
RoleArn: NotRequired[str],
VpcConfiguration: NotRequired[VpcConfigurationUnionTypeDef], # (1)
DescribeAlertResponseTypeDef#
# DescribeAlertResponseTypeDef definition
class DescribeAlertResponseTypeDef(TypedDict):
Alert: AlertTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See AlertTypeDef
- See ResponseMetadataTypeDef
DetectedFileFormatDescriptorTypeDef#
# DetectedFileFormatDescriptorTypeDef definition
class DetectedFileFormatDescriptorTypeDef(TypedDict):
CsvFormatDescriptor: NotRequired[DetectedCsvFormatDescriptorTypeDef], # (1)
JsonFormatDescriptor: NotRequired[DetectedJsonFormatDescriptorTypeDef], # (2)
GetDataQualityMetricsResponseTypeDef#
# GetDataQualityMetricsResponseTypeDef definition
class GetDataQualityMetricsResponseTypeDef(TypedDict):
AnomalyDetectorDataQualityMetricList: list[AnomalyDetectorDataQualityMetricTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
MetricLevelImpactTypeDef#
# MetricLevelImpactTypeDef definition
class MetricLevelImpactTypeDef(TypedDict):
MetricName: NotRequired[str],
NumTimeSeries: NotRequired[int],
ContributionMatrix: NotRequired[ContributionMatrixTypeDef], # (1)
CreateAlertRequestRequestTypeDef#
# CreateAlertRequestRequestTypeDef definition
class CreateAlertRequestRequestTypeDef(TypedDict):
AlertName: str,
AnomalyDetectorArn: str,
Action: ActionTypeDef, # (1)
AlertSensitivityThreshold: NotRequired[int],
AlertDescription: NotRequired[str],
Tags: NotRequired[Mapping[str, str]],
AlertFilters: NotRequired[AlertFiltersTypeDef], # (2)
- See ActionTypeDef
- See AlertFiltersTypeDef
UpdateAlertRequestRequestTypeDef#
# UpdateAlertRequestRequestTypeDef definition
class UpdateAlertRequestRequestTypeDef(TypedDict):
AlertArn: str,
AlertDescription: NotRequired[str],
AlertSensitivityThreshold: NotRequired[int],
Action: NotRequired[ActionTypeDef], # (1)
AlertFilters: NotRequired[AlertFiltersTypeDef], # (2)
- See ActionTypeDef
- See AlertFiltersTypeDef
MetricSourceOutputTypeDef#
# MetricSourceOutputTypeDef definition
class MetricSourceOutputTypeDef(TypedDict):
S3SourceConfig: NotRequired[S3SourceConfigOutputTypeDef], # (1)
AppFlowConfig: NotRequired[AppFlowConfigTypeDef], # (2)
CloudWatchConfig: NotRequired[CloudWatchConfigTypeDef], # (3)
RDSSourceConfig: NotRequired[RDSSourceConfigOutputTypeDef], # (4)
RedshiftSourceConfig: NotRequired[RedshiftSourceConfigOutputTypeDef], # (5)
AthenaSourceConfig: NotRequired[AthenaSourceConfigTypeDef], # (6)
- See S3SourceConfigOutputTypeDef
- See AppFlowConfigTypeDef
- See CloudWatchConfigTypeDef
- See RDSSourceConfigOutputTypeDef
- See RedshiftSourceConfigOutputTypeDef
- See AthenaSourceConfigTypeDef
DetectedS3SourceConfigTypeDef#
# DetectedS3SourceConfigTypeDef definition
class DetectedS3SourceConfigTypeDef(TypedDict):
FileFormatDescriptor: NotRequired[DetectedFileFormatDescriptorTypeDef], # (1)
S3SourceConfigTypeDef#
# S3SourceConfigTypeDef definition
class S3SourceConfigTypeDef(TypedDict):
RoleArn: NotRequired[str],
TemplatedPathList: NotRequired[Sequence[str]],
HistoricalDataPathList: NotRequired[Sequence[str]],
FileFormatDescriptor: NotRequired[FileFormatDescriptorUnionTypeDef], # (1)
SampleDataS3SourceConfigTypeDef#
# SampleDataS3SourceConfigTypeDef definition
class SampleDataS3SourceConfigTypeDef(TypedDict):
RoleArn: str,
FileFormatDescriptor: FileFormatDescriptorUnionTypeDef, # (1)
TemplatedPathList: NotRequired[Sequence[str]],
HistoricalDataPathList: NotRequired[Sequence[str]],
AnomalyGroupTypeDef#
# AnomalyGroupTypeDef definition
class AnomalyGroupTypeDef(TypedDict):
StartTime: NotRequired[str],
EndTime: NotRequired[str],
AnomalyGroupId: NotRequired[str],
AnomalyGroupScore: NotRequired[float],
PrimaryMetricName: NotRequired[str],
MetricLevelImpactList: NotRequired[list[MetricLevelImpactTypeDef]], # (1)
DescribeMetricSetResponseTypeDef#
# DescribeMetricSetResponseTypeDef definition
class DescribeMetricSetResponseTypeDef(TypedDict):
MetricSetArn: str,
AnomalyDetectorArn: str,
MetricSetName: str,
MetricSetDescription: str,
CreationTime: datetime,
LastModificationTime: datetime,
Offset: int,
MetricList: list[MetricTypeDef], # (1)
TimestampColumn: TimestampColumnTypeDef, # (2)
DimensionList: list[str],
MetricSetFrequency: FrequencyType, # (3)
Timezone: str,
MetricSource: MetricSourceOutputTypeDef, # (4)
DimensionFilterList: list[MetricSetDimensionFilterOutputTypeDef], # (5)
ResponseMetadata: ResponseMetadataTypeDef, # (6)
- See MetricTypeDef
- See TimestampColumnTypeDef
- See FrequencyType
- See MetricSourceOutputTypeDef
- See MetricSetDimensionFilterOutputTypeDef
- See ResponseMetadataTypeDef
DetectedMetricSourceTypeDef#
# DetectedMetricSourceTypeDef definition
class DetectedMetricSourceTypeDef(TypedDict):
S3SourceConfig: NotRequired[DetectedS3SourceConfigTypeDef], # (1)
GetSampleDataRequestRequestTypeDef#
# GetSampleDataRequestRequestTypeDef definition
class GetSampleDataRequestRequestTypeDef(TypedDict):
S3SourceConfig: NotRequired[SampleDataS3SourceConfigTypeDef], # (1)
GetAnomalyGroupResponseTypeDef#
# GetAnomalyGroupResponseTypeDef definition
class GetAnomalyGroupResponseTypeDef(TypedDict):
AnomalyGroup: AnomalyGroupTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DetectedMetricSetConfigTypeDef#
# DetectedMetricSetConfigTypeDef definition
class DetectedMetricSetConfigTypeDef(TypedDict):
Offset: NotRequired[DetectedFieldTypeDef], # (1)
MetricSetFrequency: NotRequired[DetectedFieldTypeDef], # (1)
MetricSource: NotRequired[DetectedMetricSourceTypeDef], # (3)
MetricSourceTypeDef#
# MetricSourceTypeDef definition
class MetricSourceTypeDef(TypedDict):
S3SourceConfig: NotRequired[S3SourceConfigUnionTypeDef], # (1)
AppFlowConfig: NotRequired[AppFlowConfigTypeDef], # (2)
CloudWatchConfig: NotRequired[CloudWatchConfigTypeDef], # (3)
RDSSourceConfig: NotRequired[RDSSourceConfigUnionTypeDef], # (4)
RedshiftSourceConfig: NotRequired[RedshiftSourceConfigUnionTypeDef], # (5)
AthenaSourceConfig: NotRequired[AthenaSourceConfigTypeDef], # (6)
- See S3SourceConfigTypeDef S3SourceConfigOutputTypeDef
- See AppFlowConfigTypeDef
- See CloudWatchConfigTypeDef
- See RDSSourceConfigTypeDef RDSSourceConfigOutputTypeDef
- See RedshiftSourceConfigTypeDef RedshiftSourceConfigOutputTypeDef
- See AthenaSourceConfigTypeDef
DetectMetricSetConfigResponseTypeDef#
# DetectMetricSetConfigResponseTypeDef definition
class DetectMetricSetConfigResponseTypeDef(TypedDict):
DetectedMetricSetConfig: DetectedMetricSetConfigTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateMetricSetRequestRequestTypeDef#
# CreateMetricSetRequestRequestTypeDef definition
class CreateMetricSetRequestRequestTypeDef(TypedDict):
AnomalyDetectorArn: str,
MetricSetName: str,
MetricList: Sequence[MetricTypeDef], # (1)
MetricSource: MetricSourceTypeDef, # (2)
MetricSetDescription: NotRequired[str],
Offset: NotRequired[int],
TimestampColumn: NotRequired[TimestampColumnTypeDef], # (3)
DimensionList: NotRequired[Sequence[str]],
MetricSetFrequency: NotRequired[FrequencyType], # (4)
Timezone: NotRequired[str],
Tags: NotRequired[Mapping[str, str]],
DimensionFilterList: NotRequired[Sequence[MetricSetDimensionFilterUnionTypeDef]], # (5)
- See MetricTypeDef
- See MetricSourceTypeDef
- See TimestampColumnTypeDef
- See FrequencyType
- See MetricSetDimensionFilterTypeDef MetricSetDimensionFilterOutputTypeDef
UpdateMetricSetRequestRequestTypeDef#
# UpdateMetricSetRequestRequestTypeDef definition
class UpdateMetricSetRequestRequestTypeDef(TypedDict):
MetricSetArn: str,
MetricSetDescription: NotRequired[str],
MetricList: NotRequired[Sequence[MetricTypeDef]], # (1)
Offset: NotRequired[int],
TimestampColumn: NotRequired[TimestampColumnTypeDef], # (2)
DimensionList: NotRequired[Sequence[str]],
MetricSetFrequency: NotRequired[FrequencyType], # (3)
MetricSource: NotRequired[MetricSourceTypeDef], # (4)
DimensionFilterList: NotRequired[Sequence[MetricSetDimensionFilterTypeDef]], # (5)