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