Skip to content

Type definitions#

Index > LookoutMetrics > Type definitions

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

CsvFormatDescriptorUnionTypeDef#

# CsvFormatDescriptorUnionTypeDef Union usage example

from types_boto3_lookoutmetrics.type_defs import CsvFormatDescriptorUnionTypeDef


def get_value() -> CsvFormatDescriptorUnionTypeDef:
    return ...


# CsvFormatDescriptorUnionTypeDef definition

CsvFormatDescriptorUnionTypeDef = Union[
    CsvFormatDescriptorTypeDef,  # (1)
    CsvFormatDescriptorOutputTypeDef,  # (2)
]
  1. See CsvFormatDescriptorTypeDef
  2. See CsvFormatDescriptorOutputTypeDef

AlertFiltersUnionTypeDef#

# AlertFiltersUnionTypeDef Union usage example

from types_boto3_lookoutmetrics.type_defs import AlertFiltersUnionTypeDef


def get_value() -> AlertFiltersUnionTypeDef:
    return ...


# AlertFiltersUnionTypeDef definition

AlertFiltersUnionTypeDef = Union[
    AlertFiltersTypeDef,  # (1)
    AlertFiltersOutputTypeDef,  # (2)
]
  1. See AlertFiltersTypeDef
  2. See AlertFiltersOutputTypeDef

MetricSetDimensionFilterUnionTypeDef#

# MetricSetDimensionFilterUnionTypeDef Union usage example

from types_boto3_lookoutmetrics.type_defs import MetricSetDimensionFilterUnionTypeDef


def get_value() -> MetricSetDimensionFilterUnionTypeDef:
    return ...


# MetricSetDimensionFilterUnionTypeDef definition

MetricSetDimensionFilterUnionTypeDef = Union[
    MetricSetDimensionFilterTypeDef,  # (1)
    MetricSetDimensionFilterOutputTypeDef,  # (2)
]
  1. See MetricSetDimensionFilterTypeDef
  2. See MetricSetDimensionFilterOutputTypeDef

FileFormatDescriptorUnionTypeDef#

# FileFormatDescriptorUnionTypeDef Union usage example

from types_boto3_lookoutmetrics.type_defs import FileFormatDescriptorUnionTypeDef


def get_value() -> FileFormatDescriptorUnionTypeDef:
    return ...


# FileFormatDescriptorUnionTypeDef definition

FileFormatDescriptorUnionTypeDef = Union[
    FileFormatDescriptorTypeDef,  # (1)
    FileFormatDescriptorOutputTypeDef,  # (2)
]
  1. See FileFormatDescriptorTypeDef
  2. See FileFormatDescriptorOutputTypeDef

MetricSourceUnionTypeDef#

# MetricSourceUnionTypeDef Union usage example

from types_boto3_lookoutmetrics.type_defs import MetricSourceUnionTypeDef


def get_value() -> MetricSourceUnionTypeDef:
    return ...


# MetricSourceUnionTypeDef definition

MetricSourceUnionTypeDef = Union[
    MetricSourceTypeDef,  # (1)
    MetricSourceOutputTypeDef,  # (2)
]
  1. See MetricSourceTypeDef
  2. See MetricSourceOutputTypeDef

LambdaConfigurationTypeDef#

# LambdaConfigurationTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import LambdaConfigurationTypeDef


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


# LambdaConfigurationTypeDef definition

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

SNSConfigurationTypeDef#

# SNSConfigurationTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import SNSConfigurationTypeDef


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


# SNSConfigurationTypeDef definition

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

ActivateAnomalyDetectorRequestTypeDef#

# ActivateAnomalyDetectorRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import ActivateAnomalyDetectorRequestTypeDef


def get_value() -> ActivateAnomalyDetectorRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# ActivateAnomalyDetectorRequestTypeDef definition

class ActivateAnomalyDetectorRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,

DimensionFilterOutputTypeDef#

# DimensionFilterOutputTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import DimensionFilterOutputTypeDef


def get_value() -> DimensionFilterOutputTypeDef:
    return {
        "DimensionName": ...,
    }


# DimensionFilterOutputTypeDef definition

class DimensionFilterOutputTypeDef(TypedDict):
    DimensionName: NotRequired[str],
    DimensionValueList: NotRequired[List[str]],

DimensionFilterTypeDef#

# DimensionFilterTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_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 TypedDict usage example

from types_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 TypedDict usage example

from types_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 TypedDict usage example

from types_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 TypedDict usage example

from types_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 TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import AnomalyGroupTimeSeriesFeedbackTypeDef


def get_value() -> AnomalyGroupTimeSeriesFeedbackTypeDef:
    return {
        "AnomalyGroupId": ...,
    }


# AnomalyGroupTimeSeriesFeedbackTypeDef definition

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

AnomalyGroupTimeSeriesTypeDef#

# AnomalyGroupTimeSeriesTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import AnomalyGroupTimeSeriesTypeDef


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


# AnomalyGroupTimeSeriesTypeDef definition

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

AppFlowConfigTypeDef#

# AppFlowConfigTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import BackTestConfigurationTypeDef


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


# BackTestConfigurationTypeDef definition

class BackTestConfigurationTypeDef(TypedDict):
    RunBackTestMode: bool,

AttributeValueTypeDef#

# AttributeValueTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_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]],

BackTestAnomalyDetectorRequestTypeDef#

# BackTestAnomalyDetectorRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import BackTestAnomalyDetectorRequestTypeDef


def get_value() -> BackTestAnomalyDetectorRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# BackTestAnomalyDetectorRequestTypeDef definition

class BackTestAnomalyDetectorRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

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

MetricTypeDef#

# MetricTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import MetricTypeDef


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


# MetricTypeDef definition

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

TimestampColumnTypeDef#

# TimestampColumnTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import TimestampColumnTypeDef


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


# TimestampColumnTypeDef definition

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

CsvFormatDescriptorOutputTypeDef#

# CsvFormatDescriptorOutputTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import CsvFormatDescriptorOutputTypeDef


def get_value() -> CsvFormatDescriptorOutputTypeDef:
    return {
        "FileCompression": ...,
    }


# CsvFormatDescriptorOutputTypeDef definition

class CsvFormatDescriptorOutputTypeDef(TypedDict):
    FileCompression: NotRequired[CSVFileCompressionType],  # (1)
    Charset: NotRequired[str],
    ContainsHeader: NotRequired[bool],
    Delimiter: NotRequired[str],
    HeaderList: NotRequired[List[str]],
    QuoteSymbol: NotRequired[str],
  1. See CSVFileCompressionType

CsvFormatDescriptorTypeDef#

# CsvFormatDescriptorTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_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

DeactivateAnomalyDetectorRequestTypeDef#

# DeactivateAnomalyDetectorRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import DeactivateAnomalyDetectorRequestTypeDef


def get_value() -> DeactivateAnomalyDetectorRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# DeactivateAnomalyDetectorRequestTypeDef definition

class DeactivateAnomalyDetectorRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,

DeleteAlertRequestTypeDef#

# DeleteAlertRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import DeleteAlertRequestTypeDef


def get_value() -> DeleteAlertRequestTypeDef:
    return {
        "AlertArn": ...,
    }


# DeleteAlertRequestTypeDef definition

class DeleteAlertRequestTypeDef(TypedDict):
    AlertArn: str,

DeleteAnomalyDetectorRequestTypeDef#

# DeleteAnomalyDetectorRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import DeleteAnomalyDetectorRequestTypeDef


def get_value() -> DeleteAnomalyDetectorRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# DeleteAnomalyDetectorRequestTypeDef definition

class DeleteAnomalyDetectorRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,

DescribeAlertRequestTypeDef#

# DescribeAlertRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import DescribeAlertRequestTypeDef


def get_value() -> DescribeAlertRequestTypeDef:
    return {
        "AlertArn": ...,
    }


# DescribeAlertRequestTypeDef definition

class DescribeAlertRequestTypeDef(TypedDict):
    AlertArn: str,

DescribeAnomalyDetectionExecutionsRequestTypeDef#

# DescribeAnomalyDetectionExecutionsRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import DescribeAnomalyDetectionExecutionsRequestTypeDef


def get_value() -> DescribeAnomalyDetectionExecutionsRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# DescribeAnomalyDetectionExecutionsRequestTypeDef definition

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

ExecutionStatusTypeDef#

# ExecutionStatusTypeDef TypedDict usage example

from types_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

DescribeAnomalyDetectorRequestTypeDef#

# DescribeAnomalyDetectorRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import DescribeAnomalyDetectorRequestTypeDef


def get_value() -> DescribeAnomalyDetectorRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# DescribeAnomalyDetectorRequestTypeDef definition

class DescribeAnomalyDetectorRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,

DescribeMetricSetRequestTypeDef#

# DescribeMetricSetRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import DescribeMetricSetRequestTypeDef


def get_value() -> DescribeMetricSetRequestTypeDef:
    return {
        "MetricSetArn": ...,
    }


# DescribeMetricSetRequestTypeDef definition

class DescribeMetricSetRequestTypeDef(TypedDict):
    MetricSetArn: str,

DimensionValueContributionTypeDef#

# DimensionValueContributionTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import DimensionNameValueTypeDef


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


# DimensionNameValueTypeDef definition

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

JsonFormatDescriptorTypeDef#

# JsonFormatDescriptorTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_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

GetAnomalyGroupRequestTypeDef#

# GetAnomalyGroupRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import GetAnomalyGroupRequestTypeDef


def get_value() -> GetAnomalyGroupRequestTypeDef:
    return {
        "AnomalyGroupId": ...,
    }


# GetAnomalyGroupRequestTypeDef definition

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

GetDataQualityMetricsRequestTypeDef#

# GetDataQualityMetricsRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import GetDataQualityMetricsRequestTypeDef


def get_value() -> GetDataQualityMetricsRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# GetDataQualityMetricsRequestTypeDef definition

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

TimeSeriesFeedbackTypeDef#

# TimeSeriesFeedbackTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import TimeSeriesFeedbackTypeDef


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


# TimeSeriesFeedbackTypeDef definition

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

InterMetricImpactDetailsTypeDef#

# InterMetricImpactDetailsTypeDef TypedDict usage example

from types_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

ListAlertsRequestTypeDef#

# ListAlertsRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import ListAlertsRequestTypeDef


def get_value() -> ListAlertsRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# ListAlertsRequestTypeDef definition

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

ListAnomalyDetectorsRequestTypeDef#

# ListAnomalyDetectorsRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import ListAnomalyDetectorsRequestTypeDef


def get_value() -> ListAnomalyDetectorsRequestTypeDef:
    return {
        "MaxResults": ...,
    }


# ListAnomalyDetectorsRequestTypeDef definition

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

ListAnomalyGroupRelatedMetricsRequestTypeDef#

# ListAnomalyGroupRelatedMetricsRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import ListAnomalyGroupRelatedMetricsRequestTypeDef


def get_value() -> ListAnomalyGroupRelatedMetricsRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# ListAnomalyGroupRelatedMetricsRequestTypeDef definition

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

ListAnomalyGroupSummariesRequestTypeDef#

# ListAnomalyGroupSummariesRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import ListAnomalyGroupSummariesRequestTypeDef


def get_value() -> ListAnomalyGroupSummariesRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# ListAnomalyGroupSummariesRequestTypeDef definition

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

ListAnomalyGroupTimeSeriesRequestTypeDef#

# ListAnomalyGroupTimeSeriesRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import ListAnomalyGroupTimeSeriesRequestTypeDef


def get_value() -> ListAnomalyGroupTimeSeriesRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# ListAnomalyGroupTimeSeriesRequestTypeDef definition

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

ListMetricSetsRequestTypeDef#

# ListMetricSetsRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import ListMetricSetsRequestTypeDef


def get_value() -> ListMetricSetsRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# ListMetricSetsRequestTypeDef definition

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

MetricSetSummaryTypeDef#

# MetricSetSummaryTypeDef TypedDict usage example

from types_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]],

ListTagsForResourceRequestTypeDef#

# ListTagsForResourceRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import ListTagsForResourceRequestTypeDef


def get_value() -> ListTagsForResourceRequestTypeDef:
    return {
        "ResourceArn": ...,
    }


# ListTagsForResourceRequestTypeDef definition

class ListTagsForResourceRequestTypeDef(TypedDict):
    ResourceArn: str,

VpcConfigurationOutputTypeDef#

# VpcConfigurationOutputTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import VpcConfigurationOutputTypeDef


def get_value() -> VpcConfigurationOutputTypeDef:
    return {
        "SubnetIdList": ...,
    }


# VpcConfigurationOutputTypeDef definition

class VpcConfigurationOutputTypeDef(TypedDict):
    SubnetIdList: List[str],
    SecurityGroupIdList: List[str],

VpcConfigurationTypeDef#

# VpcConfigurationTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import VpcConfigurationTypeDef


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


# VpcConfigurationTypeDef definition

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

TagResourceRequestTypeDef#

# TagResourceRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import TagResourceRequestTypeDef


def get_value() -> TagResourceRequestTypeDef:
    return {
        "ResourceArn": ...,
    }


# TagResourceRequestTypeDef definition

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

UntagResourceRequestTypeDef#

# UntagResourceRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import UntagResourceRequestTypeDef


def get_value() -> UntagResourceRequestTypeDef:
    return {
        "ResourceArn": ...,
    }


# UntagResourceRequestTypeDef definition

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

ActionTypeDef#

# ActionTypeDef TypedDict usage example

from types_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

AlertFiltersOutputTypeDef#

# AlertFiltersOutputTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import AlertFiltersOutputTypeDef


def get_value() -> AlertFiltersOutputTypeDef:
    return {
        "MetricList": ...,
    }


# AlertFiltersOutputTypeDef definition

class AlertFiltersOutputTypeDef(TypedDict):
    MetricList: NotRequired[List[str]],
    DimensionFilterList: NotRequired[List[DimensionFilterOutputTypeDef]],  # (1)
  1. See DimensionFilterOutputTypeDef

AlertFiltersTypeDef#

# AlertFiltersTypeDef TypedDict usage example

from types_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

CreateAnomalyDetectorRequestTypeDef#

# CreateAnomalyDetectorRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import CreateAnomalyDetectorRequestTypeDef


def get_value() -> CreateAnomalyDetectorRequestTypeDef:
    return {
        "AnomalyDetectorName": ...,
    }


# CreateAnomalyDetectorRequestTypeDef definition

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

UpdateAnomalyDetectorRequestTypeDef#

# UpdateAnomalyDetectorRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import UpdateAnomalyDetectorRequestTypeDef


def get_value() -> UpdateAnomalyDetectorRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# UpdateAnomalyDetectorRequestTypeDef definition

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

AnomalyGroupStatisticsTypeDef#

# AnomalyGroupStatisticsTypeDef TypedDict usage example

from types_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

PutFeedbackRequestTypeDef#

# PutFeedbackRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import PutFeedbackRequestTypeDef


def get_value() -> PutFeedbackRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# PutFeedbackRequestTypeDef definition

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

GetFeedbackRequestTypeDef#

# GetFeedbackRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import GetFeedbackRequestTypeDef


def get_value() -> GetFeedbackRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# GetFeedbackRequestTypeDef definition

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

AthenaSourceConfigTypeDef#

# AthenaSourceConfigTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_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 TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import AutoDetectionMetricSourceTypeDef


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


# AutoDetectionMetricSourceTypeDef definition

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

CreateAlertResponseTypeDef#

# CreateAlertResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import CreateAlertResponseTypeDef


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


# CreateAlertResponseTypeDef definition

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

CreateAnomalyDetectorResponseTypeDef#

# CreateAnomalyDetectorResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import CreateAnomalyDetectorResponseTypeDef


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


# CreateAnomalyDetectorResponseTypeDef definition

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

CreateMetricSetResponseTypeDef#

# CreateMetricSetResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import CreateMetricSetResponseTypeDef


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


# CreateMetricSetResponseTypeDef definition

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

DescribeAnomalyDetectorResponseTypeDef#

# DescribeAnomalyDetectorResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import DescribeAnomalyDetectorResponseTypeDef


def get_value() -> DescribeAnomalyDetectorResponseTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# 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

GetSampleDataResponseTypeDef#

# GetSampleDataResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import GetSampleDataResponseTypeDef


def get_value() -> GetSampleDataResponseTypeDef:
    return {
        "HeaderValues": ...,
    }


# GetSampleDataResponseTypeDef definition

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

ListAlertsResponseTypeDef#

# ListAlertsResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import ListAlertsResponseTypeDef


def get_value() -> ListAlertsResponseTypeDef:
    return {
        "AlertSummaryList": ...,
    }


# ListAlertsResponseTypeDef definition

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

ListAnomalyDetectorsResponseTypeDef#

# ListAnomalyDetectorsResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import ListAnomalyDetectorsResponseTypeDef


def get_value() -> ListAnomalyDetectorsResponseTypeDef:
    return {
        "AnomalyDetectorSummaryList": ...,
    }


# ListAnomalyDetectorsResponseTypeDef definition

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

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import ListTagsForResourceResponseTypeDef


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


# ListTagsForResourceResponseTypeDef definition

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

UpdateAlertResponseTypeDef#

# UpdateAlertResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import UpdateAlertResponseTypeDef


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


# UpdateAlertResponseTypeDef definition

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

UpdateAnomalyDetectorResponseTypeDef#

# UpdateAnomalyDetectorResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import UpdateAnomalyDetectorResponseTypeDef


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


# UpdateAnomalyDetectorResponseTypeDef definition

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

UpdateMetricSetResponseTypeDef#

# UpdateMetricSetResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import UpdateMetricSetResponseTypeDef


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


# UpdateMetricSetResponseTypeDef definition

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

MetricSetDataQualityMetricTypeDef#

# MetricSetDataQualityMetricTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import DescribeAnomalyDetectionExecutionsResponseTypeDef


def get_value() -> DescribeAnomalyDetectionExecutionsResponseTypeDef:
    return {
        "ExecutionList": ...,
    }


# DescribeAnomalyDetectionExecutionsResponseTypeDef definition

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

DimensionContributionTypeDef#

# DimensionContributionTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import TimeSeriesTypeDef


def get_value() -> TimeSeriesTypeDef:
    return {
        "TimeSeriesId": ...,
    }


# TimeSeriesTypeDef definition

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

FileFormatDescriptorOutputTypeDef#

# FileFormatDescriptorOutputTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import FileFormatDescriptorOutputTypeDef


def get_value() -> FileFormatDescriptorOutputTypeDef:
    return {
        "CsvFormatDescriptor": ...,
    }


# FileFormatDescriptorOutputTypeDef definition

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

MetricSetDimensionFilterOutputTypeDef#

# MetricSetDimensionFilterOutputTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import MetricSetDimensionFilterOutputTypeDef


def get_value() -> MetricSetDimensionFilterOutputTypeDef:
    return {
        "Name": ...,
    }


# MetricSetDimensionFilterOutputTypeDef definition

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

MetricSetDimensionFilterTypeDef#

# MetricSetDimensionFilterTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import GetFeedbackResponseTypeDef


def get_value() -> GetFeedbackResponseTypeDef:
    return {
        "AnomalyGroupTimeSeriesFeedback": ...,
    }


# GetFeedbackResponseTypeDef definition

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

ListAnomalyGroupRelatedMetricsResponseTypeDef#

# ListAnomalyGroupRelatedMetricsResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import ListAnomalyGroupRelatedMetricsResponseTypeDef


def get_value() -> ListAnomalyGroupRelatedMetricsResponseTypeDef:
    return {
        "InterMetricImpactList": ...,
    }


# ListAnomalyGroupRelatedMetricsResponseTypeDef definition

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

ListMetricSetsResponseTypeDef#

# ListMetricSetsResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import ListMetricSetsResponseTypeDef


def get_value() -> ListMetricSetsResponseTypeDef:
    return {
        "MetricSetSummaryList": ...,
    }


# ListMetricSetsResponseTypeDef definition

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

RDSSourceConfigOutputTypeDef#

# RDSSourceConfigOutputTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import RDSSourceConfigOutputTypeDef


def get_value() -> RDSSourceConfigOutputTypeDef:
    return {
        "DBInstanceIdentifier": ...,
    }


# RDSSourceConfigOutputTypeDef definition

class RDSSourceConfigOutputTypeDef(TypedDict):
    DBInstanceIdentifier: NotRequired[str],
    DatabaseHost: NotRequired[str],
    DatabasePort: NotRequired[int],
    SecretManagerArn: NotRequired[str],
    DatabaseName: NotRequired[str],
    TableName: NotRequired[str],
    RoleArn: NotRequired[str],
    VpcConfiguration: NotRequired[VpcConfigurationOutputTypeDef],  # (1)
  1. See VpcConfigurationOutputTypeDef

RedshiftSourceConfigOutputTypeDef#

# RedshiftSourceConfigOutputTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import RedshiftSourceConfigOutputTypeDef


def get_value() -> RedshiftSourceConfigOutputTypeDef:
    return {
        "ClusterIdentifier": ...,
    }


# RedshiftSourceConfigOutputTypeDef definition

class RedshiftSourceConfigOutputTypeDef(TypedDict):
    ClusterIdentifier: NotRequired[str],
    DatabaseHost: NotRequired[str],
    DatabasePort: NotRequired[int],
    SecretManagerArn: NotRequired[str],
    DatabaseName: NotRequired[str],
    TableName: NotRequired[str],
    RoleArn: NotRequired[str],
    VpcConfiguration: NotRequired[VpcConfigurationOutputTypeDef],  # (1)
  1. See VpcConfigurationOutputTypeDef

RDSSourceConfigTypeDef#

# RDSSourceConfigTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_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 TypedDict usage example

from types_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[AlertFiltersOutputTypeDef],  # (4)
  1. See ActionTypeDef
  2. See AlertTypeType
  3. See AlertStatusType
  4. See AlertFiltersOutputTypeDef

ListAnomalyGroupSummariesResponseTypeDef#

# ListAnomalyGroupSummariesResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import ListAnomalyGroupSummariesResponseTypeDef


def get_value() -> ListAnomalyGroupSummariesResponseTypeDef:
    return {
        "AnomalyGroupSummaryList": ...,
    }


# ListAnomalyGroupSummariesResponseTypeDef definition

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

DetectedCsvFormatDescriptorTypeDef#

# DetectedCsvFormatDescriptorTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_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

DetectMetricSetConfigRequestTypeDef#

# DetectMetricSetConfigRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import DetectMetricSetConfigRequestTypeDef


def get_value() -> DetectMetricSetConfigRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# DetectMetricSetConfigRequestTypeDef definition

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

FileFormatDescriptorTypeDef#

# FileFormatDescriptorTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import FileFormatDescriptorTypeDef


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


# FileFormatDescriptorTypeDef definition

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

AnomalyDetectorDataQualityMetricTypeDef#

# AnomalyDetectorDataQualityMetricTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import ListAnomalyGroupTimeSeriesResponseTypeDef


def get_value() -> ListAnomalyGroupTimeSeriesResponseTypeDef:
    return {
        "AnomalyGroupId": ...,
    }


# ListAnomalyGroupTimeSeriesResponseTypeDef definition

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

S3SourceConfigOutputTypeDef#

# S3SourceConfigOutputTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import S3SourceConfigOutputTypeDef


def get_value() -> S3SourceConfigOutputTypeDef:
    return {
        "RoleArn": ...,
    }


# S3SourceConfigOutputTypeDef definition

class S3SourceConfigOutputTypeDef(TypedDict):
    RoleArn: NotRequired[str],
    TemplatedPathList: NotRequired[List[str]],
    HistoricalDataPathList: NotRequired[List[str]],
    FileFormatDescriptor: NotRequired[FileFormatDescriptorOutputTypeDef],  # (1)
  1. See FileFormatDescriptorOutputTypeDef

DescribeAlertResponseTypeDef#

# DescribeAlertResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import DescribeAlertResponseTypeDef


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


# DescribeAlertResponseTypeDef definition

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

CreateAlertRequestTypeDef#

# CreateAlertRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import CreateAlertRequestTypeDef


def get_value() -> CreateAlertRequestTypeDef:
    return {
        "AlertName": ...,
    }


# CreateAlertRequestTypeDef definition

class CreateAlertRequestTypeDef(TypedDict):
    AlertName: str,
    AnomalyDetectorArn: str,
    Action: ActionTypeDef,  # (1)
    AlertSensitivityThreshold: NotRequired[int],
    AlertDescription: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],
    AlertFilters: NotRequired[AlertFiltersUnionTypeDef],  # (2)
  1. See ActionTypeDef
  2. See AlertFiltersTypeDef AlertFiltersOutputTypeDef

UpdateAlertRequestTypeDef#

# UpdateAlertRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import UpdateAlertRequestTypeDef


def get_value() -> UpdateAlertRequestTypeDef:
    return {
        "AlertArn": ...,
    }


# UpdateAlertRequestTypeDef definition

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

DetectedFileFormatDescriptorTypeDef#

# DetectedFileFormatDescriptorTypeDef TypedDict usage example

from types_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

S3SourceConfigTypeDef#

# S3SourceConfigTypeDef TypedDict usage example

from types_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

GetDataQualityMetricsResponseTypeDef#

# GetDataQualityMetricsResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import GetDataQualityMetricsResponseTypeDef


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


# GetDataQualityMetricsResponseTypeDef definition

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

MetricLevelImpactTypeDef#

# MetricLevelImpactTypeDef TypedDict usage example

from types_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

MetricSourceOutputTypeDef#

# MetricSourceOutputTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import MetricSourceOutputTypeDef


def get_value() -> MetricSourceOutputTypeDef:
    return {
        "S3SourceConfig": ...,
    }


# MetricSourceOutputTypeDef definition

class MetricSourceOutputTypeDef(TypedDict):
    S3SourceConfig: NotRequired[S3SourceConfigOutputTypeDef],  # (1)
    AppFlowConfig: NotRequired[AppFlowConfigTypeDef],  # (2)
    CloudWatchConfig: NotRequired[CloudWatchConfigTypeDef],  # (3)
    RDSSourceConfig: NotRequired[RDSSourceConfigOutputTypeDef],  # (4)
    RedshiftSourceConfig: NotRequired[RedshiftSourceConfigOutputTypeDef],  # (5)
    AthenaSourceConfig: NotRequired[AthenaSourceConfigTypeDef],  # (6)
  1. See S3SourceConfigOutputTypeDef
  2. See AppFlowConfigTypeDef
  3. See CloudWatchConfigTypeDef
  4. See RDSSourceConfigOutputTypeDef
  5. See RedshiftSourceConfigOutputTypeDef
  6. See AthenaSourceConfigTypeDef

DetectedS3SourceConfigTypeDef#

# DetectedS3SourceConfigTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import DetectedS3SourceConfigTypeDef


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


# DetectedS3SourceConfigTypeDef definition

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

SampleDataS3SourceConfigTypeDef#

# SampleDataS3SourceConfigTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import SampleDataS3SourceConfigTypeDef


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


# SampleDataS3SourceConfigTypeDef definition

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

MetricSourceTypeDef#

# MetricSourceTypeDef TypedDict usage example

from types_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

AnomalyGroupTypeDef#

# AnomalyGroupTypeDef TypedDict usage example

from types_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

DescribeMetricSetResponseTypeDef#

# DescribeMetricSetResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import DescribeMetricSetResponseTypeDef


def get_value() -> DescribeMetricSetResponseTypeDef:
    return {
        "MetricSetArn": ...,
    }


# DescribeMetricSetResponseTypeDef definition

class DescribeMetricSetResponseTypeDef(TypedDict):
    MetricSetArn: str,
    AnomalyDetectorArn: str,
    MetricSetName: str,
    MetricSetDescription: str,
    CreationTime: datetime,
    LastModificationTime: datetime,
    Offset: int,
    MetricList: List[MetricTypeDef],  # (1)
    TimestampColumn: TimestampColumnTypeDef,  # (2)
    DimensionList: List[str],
    MetricSetFrequency: FrequencyType,  # (3)
    Timezone: str,
    MetricSource: MetricSourceOutputTypeDef,  # (4)
    DimensionFilterList: List[MetricSetDimensionFilterOutputTypeDef],  # (5)
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See MetricTypeDef
  2. See TimestampColumnTypeDef
  3. See FrequencyType
  4. See MetricSourceOutputTypeDef
  5. See MetricSetDimensionFilterOutputTypeDef
  6. See ResponseMetadataTypeDef

DetectedMetricSourceTypeDef#

# DetectedMetricSourceTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import DetectedMetricSourceTypeDef


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


# DetectedMetricSourceTypeDef definition

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

GetSampleDataRequestTypeDef#

# GetSampleDataRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import GetSampleDataRequestTypeDef


def get_value() -> GetSampleDataRequestTypeDef:
    return {
        "S3SourceConfig": ...,
    }


# GetSampleDataRequestTypeDef definition

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

GetAnomalyGroupResponseTypeDef#

# GetAnomalyGroupResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import GetAnomalyGroupResponseTypeDef


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


# GetAnomalyGroupResponseTypeDef definition

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

DetectedMetricSetConfigTypeDef#

# DetectedMetricSetConfigTypeDef TypedDict usage example

from types_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

CreateMetricSetRequestTypeDef#

# CreateMetricSetRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import CreateMetricSetRequestTypeDef


def get_value() -> CreateMetricSetRequestTypeDef:
    return {
        "AnomalyDetectorArn": ...,
    }


# CreateMetricSetRequestTypeDef definition

class CreateMetricSetRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,
    MetricSetName: str,
    MetricList: Sequence[MetricTypeDef],  # (1)
    MetricSource: MetricSourceUnionTypeDef,  # (2)
    MetricSetDescription: NotRequired[str],
    Offset: NotRequired[int],
    TimestampColumn: NotRequired[TimestampColumnTypeDef],  # (3)
    DimensionList: NotRequired[Sequence[str]],
    MetricSetFrequency: NotRequired[FrequencyType],  # (4)
    Timezone: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],
    DimensionFilterList: NotRequired[Sequence[MetricSetDimensionFilterUnionTypeDef]],  # (5)
  1. See MetricTypeDef
  2. See MetricSourceTypeDef MetricSourceOutputTypeDef
  3. See TimestampColumnTypeDef
  4. See FrequencyType
  5. See MetricSetDimensionFilterTypeDef MetricSetDimensionFilterOutputTypeDef

UpdateMetricSetRequestTypeDef#

# UpdateMetricSetRequestTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import UpdateMetricSetRequestTypeDef


def get_value() -> UpdateMetricSetRequestTypeDef:
    return {
        "MetricSetArn": ...,
    }


# UpdateMetricSetRequestTypeDef definition

class UpdateMetricSetRequestTypeDef(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[MetricSourceUnionTypeDef],  # (4)
    DimensionFilterList: NotRequired[Sequence[MetricSetDimensionFilterUnionTypeDef]],  # (5)
  1. See MetricTypeDef
  2. See TimestampColumnTypeDef
  3. See FrequencyType
  4. See MetricSourceTypeDef MetricSourceOutputTypeDef
  5. See MetricSetDimensionFilterTypeDef MetricSetDimensionFilterOutputTypeDef

DetectMetricSetConfigResponseTypeDef#

# DetectMetricSetConfigResponseTypeDef TypedDict usage example

from types_boto3_lookoutmetrics.type_defs import DetectMetricSetConfigResponseTypeDef


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


# DetectMetricSetConfigResponseTypeDef definition

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