LookoutMetrics module#
Index > LookoutMetrics
Auto-generated documentation for LookoutMetrics type annotations stubs module mypy-boto3-lookoutmetrics.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.86' mypy_boto3_builder
- Select
boto3-stubs
AWS SDK. - Add
LookoutMetrics
service. - Use provided commands to install generated packages.
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and LookoutMetrics
.
From PyPI with pip#
Install boto3-stubs
for LookoutMetrics
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[lookoutmetrics]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[lookoutmetrics]'
# standalone installation
python -m pip install mypy-boto3-lookoutmetrics
How to uninstall#
python -m pip uninstall -y mypy-boto3-lookoutmetrics
Usage#
Code samples can be found in Examples.
LookoutMetricsClient#
Type annotations and code completion for boto3.client("lookoutmetrics")
as LookoutMetricsClient
boto3 documentation
# LookoutMetricsClient usage example
from boto3.session import Session
from mypy_boto3_lookoutmetrics.client import LookoutMetricsClient
def get_client() -> LookoutMetricsClient:
return Session().client("lookoutmetrics")
Literals#
Type annotations for literals used in methods and schema.
# AggregationFunctionType usage example
from mypy_boto3_lookoutmetrics.literals import AggregationFunctionType
def get_value() -> AggregationFunctionType:
return "AVG"
- AggregationFunctionType
- AlertStatusType
- AlertTypeType
- AnomalyDetectionTaskStatusType
- AnomalyDetectorFailureTypeType
- AnomalyDetectorStatusType
- CSVFileCompressionType
- ConfidenceType
- DataQualityMetricTypeType
- FilterOperationType
- FrequencyType
- JsonFileCompressionType
- RelationshipTypeType
- SnsFormatType
- LookoutMetricsServiceName
- ServiceName
- ResourceServiceName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- LambdaConfigurationTypeDef
- SNSConfigurationTypeDef
- ActivateAnomalyDetectorRequestRequestTypeDef
- DimensionFilterOutputTypeDef
- AlertSummaryTypeDef
- AnomalyDetectorConfigSummaryTypeDef
- AnomalyDetectorConfigTypeDef
- AnomalyDetectorSummaryTypeDef
- ItemizedMetricStatsTypeDef
- AnomalyGroupSummaryTypeDef
- AnomalyGroupTimeSeriesFeedbackTypeDef
- AnomalyGroupTimeSeriesTypeDef
- AppFlowConfigTypeDef
- BackTestConfigurationTypeDef
- AttributeValueTypeDef
- AutoDetectionS3SourceConfigTypeDef
- BackTestAnomalyDetectorRequestRequestTypeDef
- ResponseMetadataTypeDef
- MetricTypeDef
- TimestampColumnTypeDef
- CsvFormatDescriptorOutputTypeDef
- CsvFormatDescriptorTypeDef
- DataQualityMetricTypeDef
- DeactivateAnomalyDetectorRequestRequestTypeDef
- DeleteAlertRequestRequestTypeDef
- DeleteAnomalyDetectorRequestRequestTypeDef
- DescribeAlertRequestRequestTypeDef
- DescribeAnomalyDetectionExecutionsRequestRequestTypeDef
- ExecutionStatusTypeDef
- DescribeAnomalyDetectorRequestRequestTypeDef
- DescribeMetricSetRequestRequestTypeDef
- DimensionValueContributionTypeDef
- DimensionFilterTypeDef
- DimensionNameValueTypeDef
- JsonFormatDescriptorTypeDef
- FilterTypeDef
- GetAnomalyGroupRequestRequestTypeDef
- GetDataQualityMetricsRequestRequestTypeDef
- TimeSeriesFeedbackTypeDef
- InterMetricImpactDetailsTypeDef
- ListAlertsRequestRequestTypeDef
- ListAnomalyDetectorsRequestRequestTypeDef
- ListAnomalyGroupRelatedMetricsRequestRequestTypeDef
- ListAnomalyGroupSummariesRequestRequestTypeDef
- ListAnomalyGroupTimeSeriesRequestRequestTypeDef
- ListMetricSetsRequestRequestTypeDef
- MetricSetSummaryTypeDef
- ListTagsForResourceRequestRequestTypeDef
- VpcConfigurationOutputTypeDef
- TagResourceRequestRequestTypeDef
- UntagResourceRequestRequestTypeDef
- VpcConfigurationTypeDef
- ActionTypeDef
- AlertFiltersOutputTypeDef
- CreateAnomalyDetectorRequestRequestTypeDef
- UpdateAnomalyDetectorRequestRequestTypeDef
- AnomalyGroupStatisticsTypeDef
- PutFeedbackRequestRequestTypeDef
- GetFeedbackRequestRequestTypeDef
- AthenaSourceConfigTypeDef
- CloudWatchConfigTypeDef
- DetectedFieldTypeDef
- AutoDetectionMetricSourceTypeDef
- CreateAlertResponseTypeDef
- CreateAnomalyDetectorResponseTypeDef
- CreateMetricSetResponseTypeDef
- DescribeAnomalyDetectorResponseTypeDef
- GetSampleDataResponseTypeDef
- ListAlertsResponseTypeDef
- ListAnomalyDetectorsResponseTypeDef
- ListTagsForResourceResponseTypeDef
- UpdateAlertResponseTypeDef
- UpdateAnomalyDetectorResponseTypeDef
- UpdateMetricSetResponseTypeDef
- CsvFormatDescriptorUnionTypeDef
- MetricSetDataQualityMetricTypeDef
- DescribeAnomalyDetectionExecutionsResponseTypeDef
- DimensionContributionTypeDef
- DimensionFilterUnionTypeDef
- TimeSeriesTypeDef
- FileFormatDescriptorOutputTypeDef
- MetricSetDimensionFilterOutputTypeDef
- MetricSetDimensionFilterTypeDef
- GetFeedbackResponseTypeDef
- ListAnomalyGroupRelatedMetricsResponseTypeDef
- ListMetricSetsResponseTypeDef
- RDSSourceConfigOutputTypeDef
- RedshiftSourceConfigOutputTypeDef
- VpcConfigurationUnionTypeDef
- AlertTypeDef
- ListAnomalyGroupSummariesResponseTypeDef
- DetectedCsvFormatDescriptorTypeDef
- DetectedJsonFormatDescriptorTypeDef
- DetectMetricSetConfigRequestRequestTypeDef
- FileFormatDescriptorTypeDef
- AnomalyDetectorDataQualityMetricTypeDef
- ContributionMatrixTypeDef
- AlertFiltersTypeDef
- ListAnomalyGroupTimeSeriesResponseTypeDef
- S3SourceConfigOutputTypeDef
- MetricSetDimensionFilterUnionTypeDef
- RDSSourceConfigTypeDef
- RedshiftSourceConfigTypeDef
- DescribeAlertResponseTypeDef
- DetectedFileFormatDescriptorTypeDef
- FileFormatDescriptorUnionTypeDef
- GetDataQualityMetricsResponseTypeDef
- MetricLevelImpactTypeDef
- CreateAlertRequestRequestTypeDef
- UpdateAlertRequestRequestTypeDef
- MetricSourceOutputTypeDef
- RDSSourceConfigUnionTypeDef
- RedshiftSourceConfigUnionTypeDef
- DetectedS3SourceConfigTypeDef
- S3SourceConfigTypeDef
- SampleDataS3SourceConfigTypeDef
- AnomalyGroupTypeDef
- DescribeMetricSetResponseTypeDef
- DetectedMetricSourceTypeDef
- S3SourceConfigUnionTypeDef
- GetSampleDataRequestRequestTypeDef
- GetAnomalyGroupResponseTypeDef
- DetectedMetricSetConfigTypeDef
- MetricSourceTypeDef
- DetectMetricSetConfigResponseTypeDef
- CreateMetricSetRequestRequestTypeDef
- UpdateMetricSetRequestRequestTypeDef