Skip to content

Typed dictionaries#

Index > LookoutMetrics > Typed dictionaries

Auto-generated documentation for LookoutMetrics type annotations stubs module mypy-boto3-lookoutmetrics.

LambdaConfigurationTypeDef#

# LambdaConfigurationTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import LambdaConfigurationTypeDef

def get_value() -> LambdaConfigurationTypeDef:
    return {
        "RoleArn": ...,
        "LambdaArn": ...,
    }
# LambdaConfigurationTypeDef definition

class LambdaConfigurationTypeDef(TypedDict):
    RoleArn: str,
    LambdaArn: str,

SNSConfigurationTypeDef#

# SNSConfigurationTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import SNSConfigurationTypeDef

def get_value() -> SNSConfigurationTypeDef:
    return {
        "RoleArn": ...,
        "SnsTopicArn": ...,
    }
# SNSConfigurationTypeDef definition

class SNSConfigurationTypeDef(TypedDict):
    RoleArn: str,
    SnsTopicArn: str,
    SnsFormat: NotRequired[SnsFormatType],  # (1)
  1. See SnsFormatType

ActivateAnomalyDetectorRequestRequestTypeDef#

# ActivateAnomalyDetectorRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ActivateAnomalyDetectorRequestRequestTypeDef

def get_value() -> ActivateAnomalyDetectorRequestRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }
# ActivateAnomalyDetectorRequestRequestTypeDef definition

class ActivateAnomalyDetectorRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,

DimensionFilterTypeDef#

# DimensionFilterTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DimensionFilterTypeDef

def get_value() -> DimensionFilterTypeDef:
    return {
        "DimensionName": ...,
    }
# DimensionFilterTypeDef definition

class DimensionFilterTypeDef(TypedDict):
    DimensionName: NotRequired[str],
    DimensionValueList: NotRequired[Sequence[str]],

AlertSummaryTypeDef#

# AlertSummaryTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import AlertSummaryTypeDef

def get_value() -> AlertSummaryTypeDef:
    return {
        "AlertArn": ...,
    }
# 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]],
  1. See AlertTypeType
  2. See AlertStatusType

AnomalyDetectorConfigSummaryTypeDef#

# AnomalyDetectorConfigSummaryTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import AnomalyDetectorConfigSummaryTypeDef

def get_value() -> AnomalyDetectorConfigSummaryTypeDef:
    return {
        "AnomalyDetectorFrequency": ...,
    }
# AnomalyDetectorConfigSummaryTypeDef definition

class AnomalyDetectorConfigSummaryTypeDef(TypedDict):
    AnomalyDetectorFrequency: NotRequired[FrequencyType],  # (1)
  1. See FrequencyType

AnomalyDetectorConfigTypeDef#

# AnomalyDetectorConfigTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import AnomalyDetectorConfigTypeDef

def get_value() -> AnomalyDetectorConfigTypeDef:
    return {
        "AnomalyDetectorFrequency": ...,
    }
# AnomalyDetectorConfigTypeDef definition

class AnomalyDetectorConfigTypeDef(TypedDict):
    AnomalyDetectorFrequency: NotRequired[FrequencyType],  # (1)
  1. See FrequencyType

AnomalyDetectorSummaryTypeDef#

# AnomalyDetectorSummaryTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import AnomalyDetectorSummaryTypeDef

def get_value() -> AnomalyDetectorSummaryTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }
# 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]],
  1. See AnomalyDetectorStatusType

ItemizedMetricStatsTypeDef#

# ItemizedMetricStatsTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ItemizedMetricStatsTypeDef

def get_value() -> ItemizedMetricStatsTypeDef:
    return {
        "MetricName": ...,
    }
# ItemizedMetricStatsTypeDef definition

class ItemizedMetricStatsTypeDef(TypedDict):
    MetricName: NotRequired[str],
    OccurrenceCount: NotRequired[int],

AnomalyGroupSummaryTypeDef#

# AnomalyGroupSummaryTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import AnomalyGroupSummaryTypeDef

def get_value() -> AnomalyGroupSummaryTypeDef:
    return {
        "StartTime": ...,
    }
# AnomalyGroupSummaryTypeDef definition

class AnomalyGroupSummaryTypeDef(TypedDict):
    StartTime: NotRequired[str],
    EndTime: NotRequired[str],
    AnomalyGroupId: NotRequired[str],
    AnomalyGroupScore: NotRequired[float],
    PrimaryMetricName: NotRequired[str],

AnomalyGroupTimeSeriesFeedbackTypeDef#

# AnomalyGroupTimeSeriesFeedbackTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import AnomalyGroupTimeSeriesFeedbackTypeDef

def get_value() -> AnomalyGroupTimeSeriesFeedbackTypeDef:
    return {
        "AnomalyGroupId": ...,
        "TimeSeriesId": ...,
        "IsAnomaly": ...,
    }
# AnomalyGroupTimeSeriesFeedbackTypeDef definition

class AnomalyGroupTimeSeriesFeedbackTypeDef(TypedDict):
    AnomalyGroupId: str,
    TimeSeriesId: str,
    IsAnomaly: bool,

AnomalyGroupTimeSeriesTypeDef#

# AnomalyGroupTimeSeriesTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import AnomalyGroupTimeSeriesTypeDef

def get_value() -> AnomalyGroupTimeSeriesTypeDef:
    return {
        "AnomalyGroupId": ...,
    }
# AnomalyGroupTimeSeriesTypeDef definition

class AnomalyGroupTimeSeriesTypeDef(TypedDict):
    AnomalyGroupId: str,
    TimeSeriesId: NotRequired[str],

AppFlowConfigTypeDef#

# AppFlowConfigTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import AppFlowConfigTypeDef

def get_value() -> AppFlowConfigTypeDef:
    return {
        "RoleArn": ...,
    }
# AppFlowConfigTypeDef definition

class AppFlowConfigTypeDef(TypedDict):
    RoleArn: NotRequired[str],
    FlowName: NotRequired[str],

BackTestConfigurationTypeDef#

# BackTestConfigurationTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import BackTestConfigurationTypeDef

def get_value() -> BackTestConfigurationTypeDef:
    return {
        "RunBackTestMode": ...,
    }
# BackTestConfigurationTypeDef definition

class BackTestConfigurationTypeDef(TypedDict):
    RunBackTestMode: bool,

AttributeValueTypeDef#

# AttributeValueTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import AttributeValueTypeDef

def get_value() -> AttributeValueTypeDef:
    return {
        "S": ...,
    }
# 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 usage example

from mypy_boto3_lookoutmetrics.type_defs import AutoDetectionS3SourceConfigTypeDef

def get_value() -> AutoDetectionS3SourceConfigTypeDef:
    return {
        "TemplatedPathList": ...,
    }
# AutoDetectionS3SourceConfigTypeDef definition

class AutoDetectionS3SourceConfigTypeDef(TypedDict):
    TemplatedPathList: NotRequired[Sequence[str]],
    HistoricalDataPathList: NotRequired[Sequence[str]],

BackTestAnomalyDetectorRequestRequestTypeDef#

# BackTestAnomalyDetectorRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import BackTestAnomalyDetectorRequestRequestTypeDef

def get_value() -> BackTestAnomalyDetectorRequestRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }
# BackTestAnomalyDetectorRequestRequestTypeDef definition

class BackTestAnomalyDetectorRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,

CreateAlertResponseTypeDef#

# CreateAlertResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import CreateAlertResponseTypeDef

def get_value() -> CreateAlertResponseTypeDef:
    return {
        "AlertArn": ...,
        "ResponseMetadata": ...,
    }
# CreateAlertResponseTypeDef definition

class CreateAlertResponseTypeDef(TypedDict):
    AlertArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateAnomalyDetectorResponseTypeDef#

# CreateAnomalyDetectorResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import CreateAnomalyDetectorResponseTypeDef

def get_value() -> CreateAnomalyDetectorResponseTypeDef:
    return {
        "AnomalyDetectorArn": ...,
        "ResponseMetadata": ...,
    }
# CreateAnomalyDetectorResponseTypeDef definition

class CreateAnomalyDetectorResponseTypeDef(TypedDict):
    AnomalyDetectorArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

MetricTypeDef#

# MetricTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import MetricTypeDef

def get_value() -> MetricTypeDef:
    return {
        "MetricName": ...,
        "AggregationFunction": ...,
    }
# MetricTypeDef definition

class MetricTypeDef(TypedDict):
    MetricName: str,
    AggregationFunction: AggregationFunctionType,  # (1)
    Namespace: NotRequired[str],
  1. See AggregationFunctionType

TimestampColumnTypeDef#

# TimestampColumnTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import TimestampColumnTypeDef

def get_value() -> TimestampColumnTypeDef:
    return {
        "ColumnName": ...,
    }
# TimestampColumnTypeDef definition

class TimestampColumnTypeDef(TypedDict):
    ColumnName: NotRequired[str],
    ColumnFormat: NotRequired[str],

CreateMetricSetResponseTypeDef#

# CreateMetricSetResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import CreateMetricSetResponseTypeDef

def get_value() -> CreateMetricSetResponseTypeDef:
    return {
        "MetricSetArn": ...,
        "ResponseMetadata": ...,
    }
# CreateMetricSetResponseTypeDef definition

class CreateMetricSetResponseTypeDef(TypedDict):
    MetricSetArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CsvFormatDescriptorTypeDef#

# CsvFormatDescriptorTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import CsvFormatDescriptorTypeDef

def get_value() -> CsvFormatDescriptorTypeDef:
    return {
        "FileCompression": ...,
    }
# 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],
  1. See CSVFileCompressionType

DataQualityMetricTypeDef#

# DataQualityMetricTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DataQualityMetricTypeDef

def get_value() -> DataQualityMetricTypeDef:
    return {
        "MetricType": ...,
    }
# DataQualityMetricTypeDef definition

class DataQualityMetricTypeDef(TypedDict):
    MetricType: NotRequired[DataQualityMetricTypeType],  # (1)
    MetricDescription: NotRequired[str],
    RelatedColumnName: NotRequired[str],
    MetricValue: NotRequired[float],
  1. See DataQualityMetricTypeType

DeactivateAnomalyDetectorRequestRequestTypeDef#

# DeactivateAnomalyDetectorRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DeactivateAnomalyDetectorRequestRequestTypeDef

def get_value() -> DeactivateAnomalyDetectorRequestRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }
# DeactivateAnomalyDetectorRequestRequestTypeDef definition

class DeactivateAnomalyDetectorRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,

DeleteAlertRequestRequestTypeDef#

# DeleteAlertRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DeleteAlertRequestRequestTypeDef

def get_value() -> DeleteAlertRequestRequestTypeDef:
    return {
        "AlertArn": ...,
    }
# DeleteAlertRequestRequestTypeDef definition

class DeleteAlertRequestRequestTypeDef(TypedDict):
    AlertArn: str,

DeleteAnomalyDetectorRequestRequestTypeDef#

# DeleteAnomalyDetectorRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DeleteAnomalyDetectorRequestRequestTypeDef

def get_value() -> DeleteAnomalyDetectorRequestRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }
# DeleteAnomalyDetectorRequestRequestTypeDef definition

class DeleteAnomalyDetectorRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,

DescribeAlertRequestRequestTypeDef#

# DescribeAlertRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DescribeAlertRequestRequestTypeDef

def get_value() -> DescribeAlertRequestRequestTypeDef:
    return {
        "AlertArn": ...,
    }
# DescribeAlertRequestRequestTypeDef definition

class DescribeAlertRequestRequestTypeDef(TypedDict):
    AlertArn: str,

DescribeAnomalyDetectionExecutionsRequestRequestTypeDef#

# DescribeAnomalyDetectionExecutionsRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DescribeAnomalyDetectionExecutionsRequestRequestTypeDef

def get_value() -> DescribeAnomalyDetectionExecutionsRequestRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }
# DescribeAnomalyDetectionExecutionsRequestRequestTypeDef definition

class DescribeAnomalyDetectionExecutionsRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,
    Timestamp: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ExecutionStatusTypeDef#

# ExecutionStatusTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ExecutionStatusTypeDef

def get_value() -> ExecutionStatusTypeDef:
    return {
        "Timestamp": ...,
    }
# ExecutionStatusTypeDef definition

class ExecutionStatusTypeDef(TypedDict):
    Timestamp: NotRequired[str],
    Status: NotRequired[AnomalyDetectionTaskStatusType],  # (1)
    FailureReason: NotRequired[str],
  1. See AnomalyDetectionTaskStatusType

DescribeAnomalyDetectorRequestRequestTypeDef#

# DescribeAnomalyDetectorRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DescribeAnomalyDetectorRequestRequestTypeDef

def get_value() -> DescribeAnomalyDetectorRequestRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }
# DescribeAnomalyDetectorRequestRequestTypeDef definition

class DescribeAnomalyDetectorRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,

DescribeMetricSetRequestRequestTypeDef#

# DescribeMetricSetRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DescribeMetricSetRequestRequestTypeDef

def get_value() -> DescribeMetricSetRequestRequestTypeDef:
    return {
        "MetricSetArn": ...,
    }
# DescribeMetricSetRequestRequestTypeDef definition

class DescribeMetricSetRequestRequestTypeDef(TypedDict):
    MetricSetArn: str,

DimensionValueContributionTypeDef#

# DimensionValueContributionTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DimensionValueContributionTypeDef

def get_value() -> DimensionValueContributionTypeDef:
    return {
        "DimensionValue": ...,
    }
# DimensionValueContributionTypeDef definition

class DimensionValueContributionTypeDef(TypedDict):
    DimensionValue: NotRequired[str],
    ContributionScore: NotRequired[float],

DimensionNameValueTypeDef#

# DimensionNameValueTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DimensionNameValueTypeDef

def get_value() -> DimensionNameValueTypeDef:
    return {
        "DimensionName": ...,
        "DimensionValue": ...,
    }
# DimensionNameValueTypeDef definition

class DimensionNameValueTypeDef(TypedDict):
    DimensionName: str,
    DimensionValue: str,

JsonFormatDescriptorTypeDef#

# JsonFormatDescriptorTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import JsonFormatDescriptorTypeDef

def get_value() -> JsonFormatDescriptorTypeDef:
    return {
        "FileCompression": ...,
    }
# JsonFormatDescriptorTypeDef definition

class JsonFormatDescriptorTypeDef(TypedDict):
    FileCompression: NotRequired[JsonFileCompressionType],  # (1)
    Charset: NotRequired[str],
  1. See JsonFileCompressionType

FilterTypeDef#

# FilterTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import FilterTypeDef

def get_value() -> FilterTypeDef:
    return {
        "DimensionValue": ...,
    }
# FilterTypeDef definition

class FilterTypeDef(TypedDict):
    DimensionValue: NotRequired[str],
    FilterOperation: NotRequired[FilterOperationType],  # (1)
  1. See FilterOperationType

GetAnomalyGroupRequestRequestTypeDef#

# GetAnomalyGroupRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import GetAnomalyGroupRequestRequestTypeDef

def get_value() -> GetAnomalyGroupRequestRequestTypeDef:
    return {
        "AnomalyGroupId": ...,
        "AnomalyDetectorArn": ...,
    }
# GetAnomalyGroupRequestRequestTypeDef definition

class GetAnomalyGroupRequestRequestTypeDef(TypedDict):
    AnomalyGroupId: str,
    AnomalyDetectorArn: str,

GetDataQualityMetricsRequestRequestTypeDef#

# GetDataQualityMetricsRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import GetDataQualityMetricsRequestRequestTypeDef

def get_value() -> GetDataQualityMetricsRequestRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }
# GetDataQualityMetricsRequestRequestTypeDef definition

class GetDataQualityMetricsRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,
    MetricSetArn: NotRequired[str],

TimeSeriesFeedbackTypeDef#

# TimeSeriesFeedbackTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import TimeSeriesFeedbackTypeDef

def get_value() -> TimeSeriesFeedbackTypeDef:
    return {
        "TimeSeriesId": ...,
    }
# TimeSeriesFeedbackTypeDef definition

class TimeSeriesFeedbackTypeDef(TypedDict):
    TimeSeriesId: NotRequired[str],
    IsAnomaly: NotRequired[bool],

GetSampleDataResponseTypeDef#

# GetSampleDataResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import GetSampleDataResponseTypeDef

def get_value() -> GetSampleDataResponseTypeDef:
    return {
        "HeaderValues": ...,
        "SampleRows": ...,
        "ResponseMetadata": ...,
    }
# GetSampleDataResponseTypeDef definition

class GetSampleDataResponseTypeDef(TypedDict):
    HeaderValues: List[str],
    SampleRows: List[List[str]],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

InterMetricImpactDetailsTypeDef#

# InterMetricImpactDetailsTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import InterMetricImpactDetailsTypeDef

def get_value() -> InterMetricImpactDetailsTypeDef:
    return {
        "MetricName": ...,
    }
# InterMetricImpactDetailsTypeDef definition

class InterMetricImpactDetailsTypeDef(TypedDict):
    MetricName: NotRequired[str],
    AnomalyGroupId: NotRequired[str],
    RelationshipType: NotRequired[RelationshipTypeType],  # (1)
    ContributionPercentage: NotRequired[float],
  1. See RelationshipTypeType

ListAlertsRequestRequestTypeDef#

# ListAlertsRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ListAlertsRequestRequestTypeDef

def get_value() -> ListAlertsRequestRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }
# ListAlertsRequestRequestTypeDef definition

class ListAlertsRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListAnomalyDetectorsRequestRequestTypeDef#

# ListAnomalyDetectorsRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ListAnomalyDetectorsRequestRequestTypeDef

def get_value() -> ListAnomalyDetectorsRequestRequestTypeDef:
    return {
        "MaxResults": ...,
    }
# ListAnomalyDetectorsRequestRequestTypeDef definition

class ListAnomalyDetectorsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListAnomalyGroupRelatedMetricsRequestRequestTypeDef#

# ListAnomalyGroupRelatedMetricsRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ListAnomalyGroupRelatedMetricsRequestRequestTypeDef

def get_value() -> ListAnomalyGroupRelatedMetricsRequestRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
        "AnomalyGroupId": ...,
    }
# ListAnomalyGroupRelatedMetricsRequestRequestTypeDef definition

class ListAnomalyGroupRelatedMetricsRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,
    AnomalyGroupId: str,
    RelationshipTypeFilter: NotRequired[RelationshipTypeType],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See RelationshipTypeType

ListAnomalyGroupSummariesRequestRequestTypeDef#

# ListAnomalyGroupSummariesRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ListAnomalyGroupSummariesRequestRequestTypeDef

def get_value() -> ListAnomalyGroupSummariesRequestRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
        "SensitivityThreshold": ...,
    }
# ListAnomalyGroupSummariesRequestRequestTypeDef definition

class ListAnomalyGroupSummariesRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,
    SensitivityThreshold: int,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListAnomalyGroupTimeSeriesRequestRequestTypeDef#

# ListAnomalyGroupTimeSeriesRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ListAnomalyGroupTimeSeriesRequestRequestTypeDef

def get_value() -> ListAnomalyGroupTimeSeriesRequestRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
        "AnomalyGroupId": ...,
        "MetricName": ...,
    }
# ListAnomalyGroupTimeSeriesRequestRequestTypeDef definition

class ListAnomalyGroupTimeSeriesRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,
    AnomalyGroupId: str,
    MetricName: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListMetricSetsRequestRequestTypeDef#

# ListMetricSetsRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ListMetricSetsRequestRequestTypeDef

def get_value() -> ListMetricSetsRequestRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }
# ListMetricSetsRequestRequestTypeDef definition

class ListMetricSetsRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

MetricSetSummaryTypeDef#

# MetricSetSummaryTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import MetricSetSummaryTypeDef

def get_value() -> MetricSetSummaryTypeDef:
    return {
        "MetricSetArn": ...,
    }
# 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 usage example

from mypy_boto3_lookoutmetrics.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "Tags": ...,
        "ResponseMetadata": ...,
    }
# ListTagsForResourceResponseTypeDef definition

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

VpcConfigurationTypeDef#

# VpcConfigurationTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import VpcConfigurationTypeDef

def get_value() -> VpcConfigurationTypeDef:
    return {
        "SubnetIdList": ...,
        "SecurityGroupIdList": ...,
    }
# VpcConfigurationTypeDef definition

class VpcConfigurationTypeDef(TypedDict):
    SubnetIdList: Sequence[str],
    SecurityGroupIdList: Sequence[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
# ResponseMetadataTypeDef definition

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

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "Tags": ...,
    }
# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "TagKeys": ...,
    }
# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

UpdateAlertResponseTypeDef#

# UpdateAlertResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import UpdateAlertResponseTypeDef

def get_value() -> UpdateAlertResponseTypeDef:
    return {
        "AlertArn": ...,
        "ResponseMetadata": ...,
    }
# UpdateAlertResponseTypeDef definition

class UpdateAlertResponseTypeDef(TypedDict):
    AlertArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateAnomalyDetectorResponseTypeDef#

# UpdateAnomalyDetectorResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import UpdateAnomalyDetectorResponseTypeDef

def get_value() -> UpdateAnomalyDetectorResponseTypeDef:
    return {
        "AnomalyDetectorArn": ...,
        "ResponseMetadata": ...,
    }
# UpdateAnomalyDetectorResponseTypeDef definition

class UpdateAnomalyDetectorResponseTypeDef(TypedDict):
    AnomalyDetectorArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateMetricSetResponseTypeDef#

# UpdateMetricSetResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import UpdateMetricSetResponseTypeDef

def get_value() -> UpdateMetricSetResponseTypeDef:
    return {
        "MetricSetArn": ...,
        "ResponseMetadata": ...,
    }
# UpdateMetricSetResponseTypeDef definition

class UpdateMetricSetResponseTypeDef(TypedDict):
    MetricSetArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ActionTypeDef#

# ActionTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ActionTypeDef

def get_value() -> ActionTypeDef:
    return {
        "SNSConfiguration": ...,
    }
# ActionTypeDef definition

class ActionTypeDef(TypedDict):
    SNSConfiguration: NotRequired[SNSConfigurationTypeDef],  # (1)
    LambdaConfiguration: NotRequired[LambdaConfigurationTypeDef],  # (2)
  1. See SNSConfigurationTypeDef
  2. See LambdaConfigurationTypeDef

AlertFiltersTypeDef#

# AlertFiltersTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import AlertFiltersTypeDef

def get_value() -> AlertFiltersTypeDef:
    return {
        "MetricList": ...,
    }
# AlertFiltersTypeDef definition

class AlertFiltersTypeDef(TypedDict):
    MetricList: NotRequired[Sequence[str]],
    DimensionFilterList: NotRequired[Sequence[DimensionFilterTypeDef]],  # (1)
  1. See DimensionFilterTypeDef

ListAlertsResponseTypeDef#

# ListAlertsResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ListAlertsResponseTypeDef

def get_value() -> ListAlertsResponseTypeDef:
    return {
        "AlertSummaryList": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListAlertsResponseTypeDef definition

class ListAlertsResponseTypeDef(TypedDict):
    AlertSummaryList: List[AlertSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AlertSummaryTypeDef
  2. See ResponseMetadataTypeDef

DescribeAnomalyDetectorResponseTypeDef#

# 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": ...,
    }
# 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)
  1. See AnomalyDetectorConfigSummaryTypeDef
  2. See AnomalyDetectorStatusType
  3. See AnomalyDetectorFailureTypeType
  4. See ResponseMetadataTypeDef

CreateAnomalyDetectorRequestRequestTypeDef#

# CreateAnomalyDetectorRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import CreateAnomalyDetectorRequestRequestTypeDef

def get_value() -> CreateAnomalyDetectorRequestRequestTypeDef:
    return {
        "AnomalyDetectorName": ...,
        "AnomalyDetectorConfig": ...,
    }
# CreateAnomalyDetectorRequestRequestTypeDef definition

class CreateAnomalyDetectorRequestRequestTypeDef(TypedDict):
    AnomalyDetectorName: str,
    AnomalyDetectorConfig: AnomalyDetectorConfigTypeDef,  # (1)
    AnomalyDetectorDescription: NotRequired[str],
    KmsKeyArn: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],
  1. See AnomalyDetectorConfigTypeDef

UpdateAnomalyDetectorRequestRequestTypeDef#

# UpdateAnomalyDetectorRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import UpdateAnomalyDetectorRequestRequestTypeDef

def get_value() -> UpdateAnomalyDetectorRequestRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }
# UpdateAnomalyDetectorRequestRequestTypeDef definition

class UpdateAnomalyDetectorRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,
    KmsKeyArn: NotRequired[str],
    AnomalyDetectorDescription: NotRequired[str],
    AnomalyDetectorConfig: NotRequired[AnomalyDetectorConfigTypeDef],  # (1)
  1. See AnomalyDetectorConfigTypeDef

ListAnomalyDetectorsResponseTypeDef#

# ListAnomalyDetectorsResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ListAnomalyDetectorsResponseTypeDef

def get_value() -> ListAnomalyDetectorsResponseTypeDef:
    return {
        "AnomalyDetectorSummaryList": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListAnomalyDetectorsResponseTypeDef definition

class ListAnomalyDetectorsResponseTypeDef(TypedDict):
    AnomalyDetectorSummaryList: List[AnomalyDetectorSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AnomalyDetectorSummaryTypeDef
  2. See ResponseMetadataTypeDef

AnomalyGroupStatisticsTypeDef#

# AnomalyGroupStatisticsTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import AnomalyGroupStatisticsTypeDef

def get_value() -> AnomalyGroupStatisticsTypeDef:
    return {
        "EvaluationStartDate": ...,
    }
# AnomalyGroupStatisticsTypeDef definition

class AnomalyGroupStatisticsTypeDef(TypedDict):
    EvaluationStartDate: NotRequired[str],
    TotalCount: NotRequired[int],
    ItemizedMetricStatsList: NotRequired[List[ItemizedMetricStatsTypeDef]],  # (1)
  1. See ItemizedMetricStatsTypeDef

PutFeedbackRequestRequestTypeDef#

# PutFeedbackRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import PutFeedbackRequestRequestTypeDef

def get_value() -> PutFeedbackRequestRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
        "AnomalyGroupTimeSeriesFeedback": ...,
    }
# PutFeedbackRequestRequestTypeDef definition

class PutFeedbackRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,
    AnomalyGroupTimeSeriesFeedback: AnomalyGroupTimeSeriesFeedbackTypeDef,  # (1)
  1. See AnomalyGroupTimeSeriesFeedbackTypeDef

GetFeedbackRequestRequestTypeDef#

# GetFeedbackRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import GetFeedbackRequestRequestTypeDef

def get_value() -> GetFeedbackRequestRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
        "AnomalyGroupTimeSeriesFeedback": ...,
    }
# GetFeedbackRequestRequestTypeDef definition

class GetFeedbackRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,
    AnomalyGroupTimeSeriesFeedback: AnomalyGroupTimeSeriesTypeDef,  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See AnomalyGroupTimeSeriesTypeDef

AthenaSourceConfigTypeDef#

# AthenaSourceConfigTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import AthenaSourceConfigTypeDef

def get_value() -> AthenaSourceConfigTypeDef:
    return {
        "RoleArn": ...,
    }
# 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)
  1. See BackTestConfigurationTypeDef

CloudWatchConfigTypeDef#

# CloudWatchConfigTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import CloudWatchConfigTypeDef

def get_value() -> CloudWatchConfigTypeDef:
    return {
        "RoleArn": ...,
    }
# CloudWatchConfigTypeDef definition

class CloudWatchConfigTypeDef(TypedDict):
    RoleArn: NotRequired[str],
    BackTestConfiguration: NotRequired[BackTestConfigurationTypeDef],  # (1)
  1. See BackTestConfigurationTypeDef

DetectedFieldTypeDef#

# DetectedFieldTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DetectedFieldTypeDef

def get_value() -> DetectedFieldTypeDef:
    return {
        "Value": ...,
    }
# DetectedFieldTypeDef definition

class DetectedFieldTypeDef(TypedDict):
    Value: NotRequired[AttributeValueTypeDef],  # (1)
    Confidence: NotRequired[ConfidenceType],  # (2)
    Message: NotRequired[str],
  1. See AttributeValueTypeDef
  2. See ConfidenceType

AutoDetectionMetricSourceTypeDef#

# AutoDetectionMetricSourceTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import AutoDetectionMetricSourceTypeDef

def get_value() -> AutoDetectionMetricSourceTypeDef:
    return {
        "S3SourceConfig": ...,
    }
# AutoDetectionMetricSourceTypeDef definition

class AutoDetectionMetricSourceTypeDef(TypedDict):
    S3SourceConfig: NotRequired[AutoDetectionS3SourceConfigTypeDef],  # (1)
  1. See AutoDetectionS3SourceConfigTypeDef

MetricSetDataQualityMetricTypeDef#

# MetricSetDataQualityMetricTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import MetricSetDataQualityMetricTypeDef

def get_value() -> MetricSetDataQualityMetricTypeDef:
    return {
        "MetricSetArn": ...,
    }
# MetricSetDataQualityMetricTypeDef definition

class MetricSetDataQualityMetricTypeDef(TypedDict):
    MetricSetArn: NotRequired[str],
    DataQualityMetricList: NotRequired[List[DataQualityMetricTypeDef]],  # (1)
  1. See DataQualityMetricTypeDef

DescribeAnomalyDetectionExecutionsResponseTypeDef#

# DescribeAnomalyDetectionExecutionsResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DescribeAnomalyDetectionExecutionsResponseTypeDef

def get_value() -> DescribeAnomalyDetectionExecutionsResponseTypeDef:
    return {
        "ExecutionList": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# DescribeAnomalyDetectionExecutionsResponseTypeDef definition

class DescribeAnomalyDetectionExecutionsResponseTypeDef(TypedDict):
    ExecutionList: List[ExecutionStatusTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ExecutionStatusTypeDef
  2. See ResponseMetadataTypeDef

DimensionContributionTypeDef#

# DimensionContributionTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DimensionContributionTypeDef

def get_value() -> DimensionContributionTypeDef:
    return {
        "DimensionName": ...,
    }
# DimensionContributionTypeDef definition

class DimensionContributionTypeDef(TypedDict):
    DimensionName: NotRequired[str],
    DimensionValueContributionList: NotRequired[List[DimensionValueContributionTypeDef]],  # (1)
  1. See DimensionValueContributionTypeDef

TimeSeriesTypeDef#

# TimeSeriesTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import TimeSeriesTypeDef

def get_value() -> TimeSeriesTypeDef:
    return {
        "TimeSeriesId": ...,
        "DimensionList": ...,
        "MetricValueList": ...,
    }
# TimeSeriesTypeDef definition

class TimeSeriesTypeDef(TypedDict):
    TimeSeriesId: str,
    DimensionList: List[DimensionNameValueTypeDef],  # (1)
    MetricValueList: List[float],
  1. See DimensionNameValueTypeDef

FileFormatDescriptorTypeDef#

# FileFormatDescriptorTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import FileFormatDescriptorTypeDef

def get_value() -> FileFormatDescriptorTypeDef:
    return {
        "CsvFormatDescriptor": ...,
    }
# FileFormatDescriptorTypeDef definition

class FileFormatDescriptorTypeDef(TypedDict):
    CsvFormatDescriptor: NotRequired[CsvFormatDescriptorTypeDef],  # (1)
    JsonFormatDescriptor: NotRequired[JsonFormatDescriptorTypeDef],  # (2)
  1. See CsvFormatDescriptorTypeDef
  2. See JsonFormatDescriptorTypeDef

MetricSetDimensionFilterTypeDef#

# MetricSetDimensionFilterTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import MetricSetDimensionFilterTypeDef

def get_value() -> MetricSetDimensionFilterTypeDef:
    return {
        "Name": ...,
    }
# MetricSetDimensionFilterTypeDef definition

class MetricSetDimensionFilterTypeDef(TypedDict):
    Name: NotRequired[str],
    FilterList: NotRequired[Sequence[FilterTypeDef]],  # (1)
  1. See FilterTypeDef

GetFeedbackResponseTypeDef#

# GetFeedbackResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import GetFeedbackResponseTypeDef

def get_value() -> GetFeedbackResponseTypeDef:
    return {
        "AnomalyGroupTimeSeriesFeedback": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# GetFeedbackResponseTypeDef definition

class GetFeedbackResponseTypeDef(TypedDict):
    AnomalyGroupTimeSeriesFeedback: List[TimeSeriesFeedbackTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TimeSeriesFeedbackTypeDef
  2. See ResponseMetadataTypeDef

ListAnomalyGroupRelatedMetricsResponseTypeDef#

# ListAnomalyGroupRelatedMetricsResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ListAnomalyGroupRelatedMetricsResponseTypeDef

def get_value() -> ListAnomalyGroupRelatedMetricsResponseTypeDef:
    return {
        "InterMetricImpactList": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListAnomalyGroupRelatedMetricsResponseTypeDef definition

class ListAnomalyGroupRelatedMetricsResponseTypeDef(TypedDict):
    InterMetricImpactList: List[InterMetricImpactDetailsTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InterMetricImpactDetailsTypeDef
  2. See ResponseMetadataTypeDef

ListMetricSetsResponseTypeDef#

# ListMetricSetsResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ListMetricSetsResponseTypeDef

def get_value() -> ListMetricSetsResponseTypeDef:
    return {
        "MetricSetSummaryList": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListMetricSetsResponseTypeDef definition

class ListMetricSetsResponseTypeDef(TypedDict):
    MetricSetSummaryList: List[MetricSetSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MetricSetSummaryTypeDef
  2. See ResponseMetadataTypeDef

RDSSourceConfigTypeDef#

# RDSSourceConfigTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import RDSSourceConfigTypeDef

def get_value() -> RDSSourceConfigTypeDef:
    return {
        "DBInstanceIdentifier": ...,
    }
# 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[VpcConfigurationTypeDef],  # (1)
  1. See VpcConfigurationTypeDef

RedshiftSourceConfigTypeDef#

# RedshiftSourceConfigTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import RedshiftSourceConfigTypeDef

def get_value() -> RedshiftSourceConfigTypeDef:
    return {
        "ClusterIdentifier": ...,
    }
# 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[VpcConfigurationTypeDef],  # (1)
  1. See VpcConfigurationTypeDef

AlertTypeDef#

# AlertTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import AlertTypeDef

def get_value() -> AlertTypeDef:
    return {
        "Action": ...,
    }
# 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[AlertFiltersTypeDef],  # (4)
  1. See ActionTypeDef
  2. See AlertTypeType
  3. See AlertStatusType
  4. See AlertFiltersTypeDef

CreateAlertRequestRequestTypeDef#

# CreateAlertRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import CreateAlertRequestRequestTypeDef

def get_value() -> CreateAlertRequestRequestTypeDef:
    return {
        "AlertName": ...,
        "AnomalyDetectorArn": ...,
        "Action": ...,
    }
# 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)
  1. See ActionTypeDef
  2. See AlertFiltersTypeDef

UpdateAlertRequestRequestTypeDef#

# UpdateAlertRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import UpdateAlertRequestRequestTypeDef

def get_value() -> UpdateAlertRequestRequestTypeDef:
    return {
        "AlertArn": ...,
    }
# UpdateAlertRequestRequestTypeDef definition

class UpdateAlertRequestRequestTypeDef(TypedDict):
    AlertArn: str,
    AlertDescription: NotRequired[str],
    AlertSensitivityThreshold: NotRequired[int],
    Action: NotRequired[ActionTypeDef],  # (1)
    AlertFilters: NotRequired[AlertFiltersTypeDef],  # (2)
  1. See ActionTypeDef
  2. See AlertFiltersTypeDef

ListAnomalyGroupSummariesResponseTypeDef#

# ListAnomalyGroupSummariesResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ListAnomalyGroupSummariesResponseTypeDef

def get_value() -> ListAnomalyGroupSummariesResponseTypeDef:
    return {
        "AnomalyGroupSummaryList": ...,
        "AnomalyGroupStatistics": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListAnomalyGroupSummariesResponseTypeDef definition

class ListAnomalyGroupSummariesResponseTypeDef(TypedDict):
    AnomalyGroupSummaryList: List[AnomalyGroupSummaryTypeDef],  # (1)
    AnomalyGroupStatistics: AnomalyGroupStatisticsTypeDef,  # (2)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See AnomalyGroupSummaryTypeDef
  2. See AnomalyGroupStatisticsTypeDef
  3. See ResponseMetadataTypeDef

DetectedCsvFormatDescriptorTypeDef#

# DetectedCsvFormatDescriptorTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DetectedCsvFormatDescriptorTypeDef

def get_value() -> DetectedCsvFormatDescriptorTypeDef:
    return {
        "FileCompression": ...,
    }
# 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)
  1. See DetectedFieldTypeDef
  2. See DetectedFieldTypeDef
  3. See DetectedFieldTypeDef
  4. See DetectedFieldTypeDef
  5. See DetectedFieldTypeDef
  6. See DetectedFieldTypeDef

DetectedJsonFormatDescriptorTypeDef#

# DetectedJsonFormatDescriptorTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DetectedJsonFormatDescriptorTypeDef

def get_value() -> DetectedJsonFormatDescriptorTypeDef:
    return {
        "FileCompression": ...,
    }
# DetectedJsonFormatDescriptorTypeDef definition

class DetectedJsonFormatDescriptorTypeDef(TypedDict):
    FileCompression: NotRequired[DetectedFieldTypeDef],  # (1)
    Charset: NotRequired[DetectedFieldTypeDef],  # (1)
  1. See DetectedFieldTypeDef
  2. See DetectedFieldTypeDef

DetectMetricSetConfigRequestRequestTypeDef#

# DetectMetricSetConfigRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DetectMetricSetConfigRequestRequestTypeDef

def get_value() -> DetectMetricSetConfigRequestRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
        "AutoDetectionMetricSource": ...,
    }
# DetectMetricSetConfigRequestRequestTypeDef definition

class DetectMetricSetConfigRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,
    AutoDetectionMetricSource: AutoDetectionMetricSourceTypeDef,  # (1)
  1. See AutoDetectionMetricSourceTypeDef

AnomalyDetectorDataQualityMetricTypeDef#

# AnomalyDetectorDataQualityMetricTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import AnomalyDetectorDataQualityMetricTypeDef

def get_value() -> AnomalyDetectorDataQualityMetricTypeDef:
    return {
        "StartTimestamp": ...,
    }
# AnomalyDetectorDataQualityMetricTypeDef definition

class AnomalyDetectorDataQualityMetricTypeDef(TypedDict):
    StartTimestamp: NotRequired[datetime],
    MetricSetDataQualityMetricList: NotRequired[List[MetricSetDataQualityMetricTypeDef]],  # (1)
  1. See MetricSetDataQualityMetricTypeDef

ContributionMatrixTypeDef#

# ContributionMatrixTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ContributionMatrixTypeDef

def get_value() -> ContributionMatrixTypeDef:
    return {
        "DimensionContributionList": ...,
    }
# ContributionMatrixTypeDef definition

class ContributionMatrixTypeDef(TypedDict):
    DimensionContributionList: NotRequired[List[DimensionContributionTypeDef]],  # (1)
  1. See DimensionContributionTypeDef

ListAnomalyGroupTimeSeriesResponseTypeDef#

# ListAnomalyGroupTimeSeriesResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import ListAnomalyGroupTimeSeriesResponseTypeDef

def get_value() -> ListAnomalyGroupTimeSeriesResponseTypeDef:
    return {
        "AnomalyGroupId": ...,
        "MetricName": ...,
        "TimestampList": ...,
        "NextToken": ...,
        "TimeSeriesList": ...,
        "ResponseMetadata": ...,
    }
# ListAnomalyGroupTimeSeriesResponseTypeDef definition

class ListAnomalyGroupTimeSeriesResponseTypeDef(TypedDict):
    AnomalyGroupId: str,
    MetricName: str,
    TimestampList: List[str],
    NextToken: str,
    TimeSeriesList: List[TimeSeriesTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TimeSeriesTypeDef
  2. See ResponseMetadataTypeDef

S3SourceConfigTypeDef#

# S3SourceConfigTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import S3SourceConfigTypeDef

def get_value() -> S3SourceConfigTypeDef:
    return {
        "RoleArn": ...,
    }
# S3SourceConfigTypeDef definition

class S3SourceConfigTypeDef(TypedDict):
    RoleArn: NotRequired[str],
    TemplatedPathList: NotRequired[Sequence[str]],
    HistoricalDataPathList: NotRequired[Sequence[str]],
    FileFormatDescriptor: NotRequired[FileFormatDescriptorTypeDef],  # (1)
  1. See FileFormatDescriptorTypeDef

SampleDataS3SourceConfigTypeDef#

# SampleDataS3SourceConfigTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import SampleDataS3SourceConfigTypeDef

def get_value() -> SampleDataS3SourceConfigTypeDef:
    return {
        "RoleArn": ...,
        "FileFormatDescriptor": ...,
    }
# SampleDataS3SourceConfigTypeDef definition

class SampleDataS3SourceConfigTypeDef(TypedDict):
    RoleArn: str,
    FileFormatDescriptor: FileFormatDescriptorTypeDef,  # (1)
    TemplatedPathList: NotRequired[Sequence[str]],
    HistoricalDataPathList: NotRequired[Sequence[str]],
  1. See FileFormatDescriptorTypeDef

DescribeAlertResponseTypeDef#

# DescribeAlertResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DescribeAlertResponseTypeDef

def get_value() -> DescribeAlertResponseTypeDef:
    return {
        "Alert": ...,
        "ResponseMetadata": ...,
    }
# DescribeAlertResponseTypeDef definition

class DescribeAlertResponseTypeDef(TypedDict):
    Alert: AlertTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AlertTypeDef
  2. See ResponseMetadataTypeDef

DetectedFileFormatDescriptorTypeDef#

# DetectedFileFormatDescriptorTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DetectedFileFormatDescriptorTypeDef

def get_value() -> DetectedFileFormatDescriptorTypeDef:
    return {
        "CsvFormatDescriptor": ...,
    }
# DetectedFileFormatDescriptorTypeDef definition

class DetectedFileFormatDescriptorTypeDef(TypedDict):
    CsvFormatDescriptor: NotRequired[DetectedCsvFormatDescriptorTypeDef],  # (1)
    JsonFormatDescriptor: NotRequired[DetectedJsonFormatDescriptorTypeDef],  # (2)
  1. See DetectedCsvFormatDescriptorTypeDef
  2. See DetectedJsonFormatDescriptorTypeDef

GetDataQualityMetricsResponseTypeDef#

# GetDataQualityMetricsResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import GetDataQualityMetricsResponseTypeDef

def get_value() -> GetDataQualityMetricsResponseTypeDef:
    return {
        "AnomalyDetectorDataQualityMetricList": ...,
        "ResponseMetadata": ...,
    }
# GetDataQualityMetricsResponseTypeDef definition

class GetDataQualityMetricsResponseTypeDef(TypedDict):
    AnomalyDetectorDataQualityMetricList: List[AnomalyDetectorDataQualityMetricTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AnomalyDetectorDataQualityMetricTypeDef
  2. See ResponseMetadataTypeDef

MetricLevelImpactTypeDef#

# MetricLevelImpactTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import MetricLevelImpactTypeDef

def get_value() -> MetricLevelImpactTypeDef:
    return {
        "MetricName": ...,
    }
# MetricLevelImpactTypeDef definition

class MetricLevelImpactTypeDef(TypedDict):
    MetricName: NotRequired[str],
    NumTimeSeries: NotRequired[int],
    ContributionMatrix: NotRequired[ContributionMatrixTypeDef],  # (1)
  1. See ContributionMatrixTypeDef

MetricSourceTypeDef#

# MetricSourceTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import MetricSourceTypeDef

def get_value() -> MetricSourceTypeDef:
    return {
        "S3SourceConfig": ...,
    }
# MetricSourceTypeDef 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)
  1. See S3SourceConfigTypeDef
  2. See AppFlowConfigTypeDef
  3. See CloudWatchConfigTypeDef
  4. See RDSSourceConfigTypeDef
  5. See RedshiftSourceConfigTypeDef
  6. See AthenaSourceConfigTypeDef

GetSampleDataRequestRequestTypeDef#

# GetSampleDataRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import GetSampleDataRequestRequestTypeDef

def get_value() -> GetSampleDataRequestRequestTypeDef:
    return {
        "S3SourceConfig": ...,
    }
# GetSampleDataRequestRequestTypeDef definition

class GetSampleDataRequestRequestTypeDef(TypedDict):
    S3SourceConfig: NotRequired[SampleDataS3SourceConfigTypeDef],  # (1)
  1. See SampleDataS3SourceConfigTypeDef

DetectedS3SourceConfigTypeDef#

# DetectedS3SourceConfigTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DetectedS3SourceConfigTypeDef

def get_value() -> DetectedS3SourceConfigTypeDef:
    return {
        "FileFormatDescriptor": ...,
    }
# DetectedS3SourceConfigTypeDef definition

class DetectedS3SourceConfigTypeDef(TypedDict):
    FileFormatDescriptor: NotRequired[DetectedFileFormatDescriptorTypeDef],  # (1)
  1. See DetectedFileFormatDescriptorTypeDef

AnomalyGroupTypeDef#

# AnomalyGroupTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import AnomalyGroupTypeDef

def get_value() -> AnomalyGroupTypeDef:
    return {
        "StartTime": ...,
    }
# 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)
  1. See MetricLevelImpactTypeDef

CreateMetricSetRequestRequestTypeDef#

# CreateMetricSetRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import CreateMetricSetRequestRequestTypeDef

def get_value() -> CreateMetricSetRequestRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
        "MetricSetName": ...,
        "MetricList": ...,
        "MetricSource": ...,
    }
# 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[MetricSetDimensionFilterTypeDef]],  # (5)
  1. See MetricTypeDef
  2. See MetricSourceTypeDef
  3. See TimestampColumnTypeDef
  4. See FrequencyType
  5. See MetricSetDimensionFilterTypeDef

DescribeMetricSetResponseTypeDef#

# 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": ...,
    }
# 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: MetricSourceTypeDef,  # (4)
    DimensionFilterList: List[MetricSetDimensionFilterTypeDef],  # (5)
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See MetricTypeDef
  2. See TimestampColumnTypeDef
  3. See FrequencyType
  4. See MetricSourceTypeDef
  5. See MetricSetDimensionFilterTypeDef
  6. See ResponseMetadataTypeDef

UpdateMetricSetRequestRequestTypeDef#

# UpdateMetricSetRequestRequestTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import UpdateMetricSetRequestRequestTypeDef

def get_value() -> UpdateMetricSetRequestRequestTypeDef:
    return {
        "MetricSetArn": ...,
    }
# 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)
  1. See MetricTypeDef
  2. See TimestampColumnTypeDef
  3. See FrequencyType
  4. See MetricSourceTypeDef
  5. See MetricSetDimensionFilterTypeDef

DetectedMetricSourceTypeDef#

# DetectedMetricSourceTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DetectedMetricSourceTypeDef

def get_value() -> DetectedMetricSourceTypeDef:
    return {
        "S3SourceConfig": ...,
    }
# DetectedMetricSourceTypeDef definition

class DetectedMetricSourceTypeDef(TypedDict):
    S3SourceConfig: NotRequired[DetectedS3SourceConfigTypeDef],  # (1)
  1. See DetectedS3SourceConfigTypeDef

GetAnomalyGroupResponseTypeDef#

# GetAnomalyGroupResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import GetAnomalyGroupResponseTypeDef

def get_value() -> GetAnomalyGroupResponseTypeDef:
    return {
        "AnomalyGroup": ...,
        "ResponseMetadata": ...,
    }
# GetAnomalyGroupResponseTypeDef definition

class GetAnomalyGroupResponseTypeDef(TypedDict):
    AnomalyGroup: AnomalyGroupTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AnomalyGroupTypeDef
  2. See ResponseMetadataTypeDef

DetectedMetricSetConfigTypeDef#

# DetectedMetricSetConfigTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DetectedMetricSetConfigTypeDef

def get_value() -> DetectedMetricSetConfigTypeDef:
    return {
        "Offset": ...,
    }
# DetectedMetricSetConfigTypeDef definition

class DetectedMetricSetConfigTypeDef(TypedDict):
    Offset: NotRequired[DetectedFieldTypeDef],  # (1)
    MetricSetFrequency: NotRequired[DetectedFieldTypeDef],  # (1)
    MetricSource: NotRequired[DetectedMetricSourceTypeDef],  # (3)
  1. See DetectedFieldTypeDef
  2. See DetectedFieldTypeDef
  3. See DetectedMetricSourceTypeDef

DetectMetricSetConfigResponseTypeDef#

# DetectMetricSetConfigResponseTypeDef usage example

from mypy_boto3_lookoutmetrics.type_defs import DetectMetricSetConfigResponseTypeDef

def get_value() -> DetectMetricSetConfigResponseTypeDef:
    return {
        "DetectedMetricSetConfig": ...,
        "ResponseMetadata": ...,
    }
# DetectMetricSetConfigResponseTypeDef definition

class DetectMetricSetConfigResponseTypeDef(TypedDict):
    DetectedMetricSetConfig: DetectedMetricSetConfigTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DetectedMetricSetConfigTypeDef
  2. See ResponseMetadataTypeDef