Skip to content

Type definitions#

Index > LookoutMetrics > Type definitions

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

CsvFormatDescriptorUnionTypeDef#

# CsvFormatDescriptorUnionTypeDef definition

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

DimensionFilterUnionTypeDef#

# DimensionFilterUnionTypeDef definition

DimensionFilterUnionTypeDef = Union[
    DimensionFilterTypeDef,  # (1)
    DimensionFilterOutputTypeDef,  # (2)
]
  1. See DimensionFilterTypeDef
  2. See DimensionFilterOutputTypeDef

VpcConfigurationUnionTypeDef#

# VpcConfigurationUnionTypeDef definition

VpcConfigurationUnionTypeDef = Union[
    VpcConfigurationTypeDef,  # (1)
    VpcConfigurationOutputTypeDef,  # (2)
]
  1. See VpcConfigurationTypeDef
  2. See VpcConfigurationOutputTypeDef

MetricSetDimensionFilterUnionTypeDef#

# MetricSetDimensionFilterUnionTypeDef definition

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

FileFormatDescriptorUnionTypeDef#

# FileFormatDescriptorUnionTypeDef definition

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

RDSSourceConfigUnionTypeDef#

# RDSSourceConfigUnionTypeDef definition

RDSSourceConfigUnionTypeDef = Union[
    RDSSourceConfigTypeDef,  # (1)
    RDSSourceConfigOutputTypeDef,  # (2)
]
  1. See RDSSourceConfigTypeDef
  2. See RDSSourceConfigOutputTypeDef

RedshiftSourceConfigUnionTypeDef#

# RedshiftSourceConfigUnionTypeDef definition

RedshiftSourceConfigUnionTypeDef = Union[
    RedshiftSourceConfigTypeDef,  # (1)
    RedshiftSourceConfigOutputTypeDef,  # (2)
]
  1. See RedshiftSourceConfigTypeDef
  2. See RedshiftSourceConfigOutputTypeDef

S3SourceConfigUnionTypeDef#

# S3SourceConfigUnionTypeDef definition

S3SourceConfigUnionTypeDef = Union[
    S3SourceConfigTypeDef,  # (1)
    S3SourceConfigOutputTypeDef,  # (2)
]
  1. See S3SourceConfigTypeDef
  2. See S3SourceConfigOutputTypeDef

LambdaConfigurationTypeDef#

# LambdaConfigurationTypeDef definition

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

SNSConfigurationTypeDef#

# SNSConfigurationTypeDef definition

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

ActivateAnomalyDetectorRequestRequestTypeDef#

# ActivateAnomalyDetectorRequestRequestTypeDef definition

class ActivateAnomalyDetectorRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,

DimensionFilterOutputTypeDef#

# DimensionFilterOutputTypeDef definition

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

AlertSummaryTypeDef#

# AlertSummaryTypeDef definition

class AlertSummaryTypeDef(TypedDict):
    AlertArn: NotRequired[str],
    AnomalyDetectorArn: NotRequired[str],
    AlertName: NotRequired[str],
    AlertSensitivityThreshold: NotRequired[int],
    AlertType: NotRequired[AlertTypeType],  # (1)
    AlertStatus: NotRequired[AlertStatusType],  # (2)
    LastModificationTime: NotRequired[datetime],
    CreationTime: NotRequired[datetime],
    Tags: NotRequired[dict[str, str]],
  1. See AlertTypeType
  2. See AlertStatusType

AnomalyDetectorConfigSummaryTypeDef#

# AnomalyDetectorConfigSummaryTypeDef definition

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

AnomalyDetectorConfigTypeDef#

# AnomalyDetectorConfigTypeDef definition

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

AnomalyDetectorSummaryTypeDef#

# AnomalyDetectorSummaryTypeDef definition

class AnomalyDetectorSummaryTypeDef(TypedDict):
    AnomalyDetectorArn: NotRequired[str],
    AnomalyDetectorName: NotRequired[str],
    AnomalyDetectorDescription: NotRequired[str],
    CreationTime: NotRequired[datetime],
    LastModificationTime: NotRequired[datetime],
    Status: NotRequired[AnomalyDetectorStatusType],  # (1)
    Tags: NotRequired[dict[str, str]],
  1. See AnomalyDetectorStatusType

ItemizedMetricStatsTypeDef#

# ItemizedMetricStatsTypeDef definition

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

AnomalyGroupSummaryTypeDef#

# AnomalyGroupSummaryTypeDef definition

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

AnomalyGroupTimeSeriesFeedbackTypeDef#

# AnomalyGroupTimeSeriesFeedbackTypeDef definition

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

AnomalyGroupTimeSeriesTypeDef#

# AnomalyGroupTimeSeriesTypeDef definition

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

AppFlowConfigTypeDef#

# AppFlowConfigTypeDef definition

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

BackTestConfigurationTypeDef#

# BackTestConfigurationTypeDef definition

class BackTestConfigurationTypeDef(TypedDict):
    RunBackTestMode: bool,

AttributeValueTypeDef#

# AttributeValueTypeDef definition

class AttributeValueTypeDef(TypedDict):
    S: NotRequired[str],
    N: NotRequired[str],
    B: NotRequired[str],
    SS: NotRequired[list[str]],
    NS: NotRequired[list[str]],
    BS: NotRequired[list[str]],

AutoDetectionS3SourceConfigTypeDef#

# AutoDetectionS3SourceConfigTypeDef definition

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

BackTestAnomalyDetectorRequestRequestTypeDef#

# BackTestAnomalyDetectorRequestRequestTypeDef definition

class BackTestAnomalyDetectorRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

MetricTypeDef#

# MetricTypeDef definition

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

TimestampColumnTypeDef#

# TimestampColumnTypeDef definition

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

CsvFormatDescriptorOutputTypeDef#

# CsvFormatDescriptorOutputTypeDef definition

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

CsvFormatDescriptorTypeDef#

# CsvFormatDescriptorTypeDef definition

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

DataQualityMetricTypeDef#

# DataQualityMetricTypeDef definition

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

DeactivateAnomalyDetectorRequestRequestTypeDef#

# DeactivateAnomalyDetectorRequestRequestTypeDef definition

class DeactivateAnomalyDetectorRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,

DeleteAlertRequestRequestTypeDef#

# DeleteAlertRequestRequestTypeDef definition

class DeleteAlertRequestRequestTypeDef(TypedDict):
    AlertArn: str,

DeleteAnomalyDetectorRequestRequestTypeDef#

# DeleteAnomalyDetectorRequestRequestTypeDef definition

class DeleteAnomalyDetectorRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,

DescribeAlertRequestRequestTypeDef#

# DescribeAlertRequestRequestTypeDef definition

class DescribeAlertRequestRequestTypeDef(TypedDict):
    AlertArn: str,

DescribeAnomalyDetectionExecutionsRequestRequestTypeDef#

# DescribeAnomalyDetectionExecutionsRequestRequestTypeDef definition

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

ExecutionStatusTypeDef#

# ExecutionStatusTypeDef definition

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

DescribeAnomalyDetectorRequestRequestTypeDef#

# DescribeAnomalyDetectorRequestRequestTypeDef definition

class DescribeAnomalyDetectorRequestRequestTypeDef(TypedDict):
    AnomalyDetectorArn: str,

DescribeMetricSetRequestRequestTypeDef#

# DescribeMetricSetRequestRequestTypeDef definition

class DescribeMetricSetRequestRequestTypeDef(TypedDict):
    MetricSetArn: str,

DimensionValueContributionTypeDef#

# DimensionValueContributionTypeDef definition

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

DimensionFilterTypeDef#

# DimensionFilterTypeDef definition

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

DimensionNameValueTypeDef#

# DimensionNameValueTypeDef definition

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

JsonFormatDescriptorTypeDef#

# JsonFormatDescriptorTypeDef definition

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

FilterTypeDef#

# FilterTypeDef definition

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

GetAnomalyGroupRequestRequestTypeDef#

# GetAnomalyGroupRequestRequestTypeDef definition

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

GetDataQualityMetricsRequestRequestTypeDef#

# GetDataQualityMetricsRequestRequestTypeDef definition

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

TimeSeriesFeedbackTypeDef#

# TimeSeriesFeedbackTypeDef definition

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

InterMetricImpactDetailsTypeDef#

# InterMetricImpactDetailsTypeDef definition

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

ListAlertsRequestRequestTypeDef#

# ListAlertsRequestRequestTypeDef definition

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

ListAnomalyDetectorsRequestRequestTypeDef#

# ListAnomalyDetectorsRequestRequestTypeDef definition

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

ListAnomalyGroupRelatedMetricsRequestRequestTypeDef#

# ListAnomalyGroupRelatedMetricsRequestRequestTypeDef definition

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

ListAnomalyGroupSummariesRequestRequestTypeDef#

# ListAnomalyGroupSummariesRequestRequestTypeDef definition

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

ListAnomalyGroupTimeSeriesRequestRequestTypeDef#

# ListAnomalyGroupTimeSeriesRequestRequestTypeDef definition

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

ListMetricSetsRequestRequestTypeDef#

# ListMetricSetsRequestRequestTypeDef definition

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

MetricSetSummaryTypeDef#

# MetricSetSummaryTypeDef definition

class MetricSetSummaryTypeDef(TypedDict):
    MetricSetArn: NotRequired[str],
    AnomalyDetectorArn: NotRequired[str],
    MetricSetDescription: NotRequired[str],
    MetricSetName: NotRequired[str],
    CreationTime: NotRequired[datetime],
    LastModificationTime: NotRequired[datetime],
    Tags: NotRequired[dict[str, str]],

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

VpcConfigurationOutputTypeDef#

# VpcConfigurationOutputTypeDef definition

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

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

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

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

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

VpcConfigurationTypeDef#

# VpcConfigurationTypeDef definition

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

ActionTypeDef#

# ActionTypeDef definition

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

AlertFiltersOutputTypeDef#

# AlertFiltersOutputTypeDef definition

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

CreateAnomalyDetectorRequestRequestTypeDef#

# 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 definition

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

AnomalyGroupStatisticsTypeDef#

# AnomalyGroupStatisticsTypeDef definition

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

PutFeedbackRequestRequestTypeDef#

# PutFeedbackRequestRequestTypeDef definition

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

GetFeedbackRequestRequestTypeDef#

# GetFeedbackRequestRequestTypeDef definition

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

AthenaSourceConfigTypeDef#

# AthenaSourceConfigTypeDef definition

class AthenaSourceConfigTypeDef(TypedDict):
    RoleArn: NotRequired[str],
    DatabaseName: NotRequired[str],
    DataCatalog: NotRequired[str],
    TableName: NotRequired[str],
    WorkGroupName: NotRequired[str],
    S3ResultsPath: NotRequired[str],
    BackTestConfiguration: NotRequired[BackTestConfigurationTypeDef],  # (1)
  1. See BackTestConfigurationTypeDef

CloudWatchConfigTypeDef#

# CloudWatchConfigTypeDef definition

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

DetectedFieldTypeDef#

# DetectedFieldTypeDef definition

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

AutoDetectionMetricSourceTypeDef#

# AutoDetectionMetricSourceTypeDef definition

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

CreateAlertResponseTypeDef#

# CreateAlertResponseTypeDef definition

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

CreateAnomalyDetectorResponseTypeDef#

# CreateAnomalyDetectorResponseTypeDef definition

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

CreateMetricSetResponseTypeDef#

# CreateMetricSetResponseTypeDef definition

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

DescribeAnomalyDetectorResponseTypeDef#

# DescribeAnomalyDetectorResponseTypeDef definition

class DescribeAnomalyDetectorResponseTypeDef(TypedDict):
    AnomalyDetectorArn: str,
    AnomalyDetectorName: str,
    AnomalyDetectorDescription: str,
    AnomalyDetectorConfig: AnomalyDetectorConfigSummaryTypeDef,  # (1)
    CreationTime: datetime,
    LastModificationTime: datetime,
    Status: AnomalyDetectorStatusType,  # (2)
    FailureReason: str,
    KmsKeyArn: str,
    FailureType: AnomalyDetectorFailureTypeType,  # (3)
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See AnomalyDetectorConfigSummaryTypeDef
  2. See AnomalyDetectorStatusType
  3. See AnomalyDetectorFailureTypeType
  4. See ResponseMetadataTypeDef

GetSampleDataResponseTypeDef#

# GetSampleDataResponseTypeDef definition

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

ListAlertsResponseTypeDef#

# ListAlertsResponseTypeDef definition

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

ListAnomalyDetectorsResponseTypeDef#

# ListAnomalyDetectorsResponseTypeDef definition

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

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

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

UpdateAlertResponseTypeDef#

# UpdateAlertResponseTypeDef definition

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

UpdateAnomalyDetectorResponseTypeDef#

# UpdateAnomalyDetectorResponseTypeDef definition

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

UpdateMetricSetResponseTypeDef#

# UpdateMetricSetResponseTypeDef definition

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

MetricSetDataQualityMetricTypeDef#

# MetricSetDataQualityMetricTypeDef definition

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

DescribeAnomalyDetectionExecutionsResponseTypeDef#

# DescribeAnomalyDetectionExecutionsResponseTypeDef definition

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

DimensionContributionTypeDef#

# DimensionContributionTypeDef definition

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

TimeSeriesTypeDef#

# TimeSeriesTypeDef definition

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

FileFormatDescriptorOutputTypeDef#

# FileFormatDescriptorOutputTypeDef definition

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

MetricSetDimensionFilterOutputTypeDef#

# MetricSetDimensionFilterOutputTypeDef definition

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

MetricSetDimensionFilterTypeDef#

# MetricSetDimensionFilterTypeDef definition

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

GetFeedbackResponseTypeDef#

# GetFeedbackResponseTypeDef definition

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

ListAnomalyGroupRelatedMetricsResponseTypeDef#

# ListAnomalyGroupRelatedMetricsResponseTypeDef definition

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

ListMetricSetsResponseTypeDef#

# ListMetricSetsResponseTypeDef definition

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

RDSSourceConfigOutputTypeDef#

# RDSSourceConfigOutputTypeDef definition

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

RedshiftSourceConfigOutputTypeDef#

# RedshiftSourceConfigOutputTypeDef definition

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

AlertTypeDef#

# AlertTypeDef definition

class AlertTypeDef(TypedDict):
    Action: NotRequired[ActionTypeDef],  # (1)
    AlertDescription: NotRequired[str],
    AlertArn: NotRequired[str],
    AnomalyDetectorArn: NotRequired[str],
    AlertName: NotRequired[str],
    AlertSensitivityThreshold: NotRequired[int],
    AlertType: NotRequired[AlertTypeType],  # (2)
    AlertStatus: NotRequired[AlertStatusType],  # (3)
    LastModificationTime: NotRequired[datetime],
    CreationTime: NotRequired[datetime],
    AlertFilters: NotRequired[AlertFiltersOutputTypeDef],  # (4)
  1. See ActionTypeDef
  2. See AlertTypeType
  3. See AlertStatusType
  4. See AlertFiltersOutputTypeDef

ListAnomalyGroupSummariesResponseTypeDef#

# 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 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 definition

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

DetectMetricSetConfigRequestRequestTypeDef#

# DetectMetricSetConfigRequestRequestTypeDef definition

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

FileFormatDescriptorTypeDef#

# FileFormatDescriptorTypeDef definition

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

AnomalyDetectorDataQualityMetricTypeDef#

# AnomalyDetectorDataQualityMetricTypeDef definition

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

ContributionMatrixTypeDef#

# ContributionMatrixTypeDef definition

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

AlertFiltersTypeDef#

# AlertFiltersTypeDef definition

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

ListAnomalyGroupTimeSeriesResponseTypeDef#

# 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 definition

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

RDSSourceConfigTypeDef#

# RDSSourceConfigTypeDef definition

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

RedshiftSourceConfigTypeDef#

# RedshiftSourceConfigTypeDef definition

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

DescribeAlertResponseTypeDef#

# DescribeAlertResponseTypeDef definition

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

DetectedFileFormatDescriptorTypeDef#

# DetectedFileFormatDescriptorTypeDef definition

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

GetDataQualityMetricsResponseTypeDef#

# GetDataQualityMetricsResponseTypeDef definition

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

MetricLevelImpactTypeDef#

# MetricLevelImpactTypeDef definition

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

CreateAlertRequestRequestTypeDef#

# CreateAlertRequestRequestTypeDef definition

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

UpdateAlertRequestRequestTypeDef#

# 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

MetricSourceOutputTypeDef#

# MetricSourceOutputTypeDef definition

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

DetectedS3SourceConfigTypeDef#

# DetectedS3SourceConfigTypeDef definition

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

S3SourceConfigTypeDef#

# S3SourceConfigTypeDef definition

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

SampleDataS3SourceConfigTypeDef#

# SampleDataS3SourceConfigTypeDef definition

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

AnomalyGroupTypeDef#

# AnomalyGroupTypeDef definition

class AnomalyGroupTypeDef(TypedDict):
    StartTime: NotRequired[str],
    EndTime: NotRequired[str],
    AnomalyGroupId: NotRequired[str],
    AnomalyGroupScore: NotRequired[float],
    PrimaryMetricName: NotRequired[str],
    MetricLevelImpactList: NotRequired[list[MetricLevelImpactTypeDef]],  # (1)
  1. See MetricLevelImpactTypeDef

DescribeMetricSetResponseTypeDef#

# DescribeMetricSetResponseTypeDef definition

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

DetectedMetricSourceTypeDef#

# DetectedMetricSourceTypeDef definition

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

GetSampleDataRequestRequestTypeDef#

# GetSampleDataRequestRequestTypeDef definition

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

GetAnomalyGroupResponseTypeDef#

# GetAnomalyGroupResponseTypeDef definition

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

DetectedMetricSetConfigTypeDef#

# 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

MetricSourceTypeDef#

# MetricSourceTypeDef definition

class MetricSourceTypeDef(TypedDict):
    S3SourceConfig: NotRequired[S3SourceConfigUnionTypeDef],  # (1)
    AppFlowConfig: NotRequired[AppFlowConfigTypeDef],  # (2)
    CloudWatchConfig: NotRequired[CloudWatchConfigTypeDef],  # (3)
    RDSSourceConfig: NotRequired[RDSSourceConfigUnionTypeDef],  # (4)
    RedshiftSourceConfig: NotRequired[RedshiftSourceConfigUnionTypeDef],  # (5)
    AthenaSourceConfig: NotRequired[AthenaSourceConfigTypeDef],  # (6)
  1. See S3SourceConfigTypeDef S3SourceConfigOutputTypeDef
  2. See AppFlowConfigTypeDef
  3. See CloudWatchConfigTypeDef
  4. See RDSSourceConfigTypeDef RDSSourceConfigOutputTypeDef
  5. See RedshiftSourceConfigTypeDef RedshiftSourceConfigOutputTypeDef
  6. See AthenaSourceConfigTypeDef

DetectMetricSetConfigResponseTypeDef#

# DetectMetricSetConfigResponseTypeDef definition

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

CreateMetricSetRequestRequestTypeDef#

# CreateMetricSetRequestRequestTypeDef definition

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

UpdateMetricSetRequestRequestTypeDef#

# UpdateMetricSetRequestRequestTypeDef definition

class UpdateMetricSetRequestRequestTypeDef(TypedDict):
    MetricSetArn: str,
    MetricSetDescription: NotRequired[str],
    MetricList: NotRequired[Sequence[MetricTypeDef]],  # (1)
    Offset: NotRequired[int],
    TimestampColumn: NotRequired[TimestampColumnTypeDef],  # (2)
    DimensionList: NotRequired[Sequence[str]],
    MetricSetFrequency: NotRequired[FrequencyType],  # (3)
    MetricSource: NotRequired[MetricSourceTypeDef],  # (4)
    DimensionFilterList: NotRequired[Sequence[MetricSetDimensionFilterTypeDef]],  # (5)
  1. See MetricTypeDef
  2. See TimestampColumnTypeDef
  3. See FrequencyType
  4. See MetricSourceTypeDef
  5. See MetricSetDimensionFilterTypeDef