

# Amazon API usage metrics
<a name="AWS-API-Usage-Metrics"></a>

Most APIs that support Amazon CloudTrail logging also report usage metrics to CloudWatch. API usage metrics in CloudWatch allow you to proactively manage API usage by visualizing metrics in the CloudWatch console, creating custom dashboards, detecting changes in activity with CloudWatch anomaly detection, and configuring alarms that alert when usage approaches a threshold.

 You can use the he following table to learn about services that report API usage metrics to CloudWatch. The table lists the values to use for the `Service` dimension, so you can see the usage metrics from that service. You can use the procedure in this section to view the list of a service's APIs that report usage metrics to CloudWatch. 


| Service | Value for the `Service` dimension | 
| --- | --- | 
| Amazon Identity and Access Management Access Analyzer | `Access Analyzer` | 
| Amazon Account Management | `Account Management` | 
| Alexa for Business | `A4B` | 
| Amazon API Gateway | `API Gateway` | 
| Amazon App Mesh | `App Mesh` | 
| Amazon AppConfig | `AWS AppConfig` | 
| Amazon AppFlow | `AppFlow` | 
| Application Auto Scaling | `Application Auto Scaling` | 
| Application Discovery Service | `Application Discovery Service` | 
| Amazon AppStream | `AppStream` | 
| WorkSpaces Applications Image Builder | `Image Builder` | 
| Amazon Athena | `Athena` | 
| Amazon Audit Manager | `Audit Manager` | 
| Amazon Backup | `Backup` | 
| Amazon Batch | `Batch` | 
| Amazon Braket | `Braket` | 
| Amazon Budgets | `Budgets` | 
| Amazon Certificate Manager | `Certificate Manager` | 
| Amazon Chime SDK | `ChimeSDK` | 
| Amazon Cloud Directory | `Cloud Directory` | 
| Amazon Cloud Map | `Cloud Map` | 
| Amazon CloudFormation | `CloudFormation` | 
| Amazon CloudHSM | `CloudHSM` | 
| Amazon CloudSearch | `CloudSearch` | 
| Amazon CloudShell | `CloudShell` | 
| Amazon CloudTrail | `CloudTrail` | 
| Amazon CloudWatch | `CloudWatch` | 
| Amazon CloudWatch Application Signals | `CloudWatch Application Signals` | 
| Amazon CloudWatch Logs | `Logs` | 
| Amazon CloudWatch Application Insights | `CloudWatch Application Insights` | 
| Amazon CodeBuild | `CodeBuild` | 
| Amazon CodeCommit | `CodeCommit` | 
| Amazon CodeGuru Profiler | `CodeGuru Profiler` | 
| Amazon CodePipeline | `CodePipeline` | 
| AWS CodeStar | `CodeStar` | 
| AWS CodeStar Notifications | `CodeStar Notifications` | 
| AWS CodeStar Connections | `CodeStar Connections` | 
| Amazon Cognito Identity pools | `Cognito Identity Pools` | 
| Amazon Cognito Sync | `Cognito Sync` | 
| Amazon Comprehend | `Comprehend` | 
| Amazon Comprehend Medical | `Comprehend Medical` | 
| Amazon Compute Optimizer | `ComputeOptimzier` | 
| Amazon Connect Customer | `Connect` | 
| Amazon Connect Customer Customer Profiles | `Customer Profiles` | 
| Amazon Cost and Usage Reports | `Cost and Usage Report` | 
| Amazon Cost Explorer | `Cost Explorer` | 
| Amazon Data Exchange | `Data Exchange` | 
| Amazon Data Lifecycle Manager | `Data Lifecycle Manager` | 
| Amazon Database Migration Service | `Database Migration Service` | 
| Amazon DataSync | `DataSync` | 
| Amazon Detective | `Detective` | 
| Device Advisor | `Device Advisor` | 
| Amazon Direct Connect | `Direct Connect` | 
| Amazon Directory Service | `Directory Service` | 
| DynamoDB Accelerator | `DynamoDBAccelerator` | 
| Amazon EC2 | `EC2` | 
| EC2 Auto Scaling | `EC2 Auto Scaling` | 
| Amazon Elastic Container Registry | `ECR Public` | 
| Amazon Elastic Container Service | `ECS` | 
| Amazon Elastic File System | `EFS` | 
| Amazon Elastic Kubernetes Service | `EKS` | 
| Amazon Elastic Beanstalk | `Elastic Beanstalk` | 
| Amazon Elastic Inference | `Elastic Inference` | 
| Elastic Load Balancing | `Elastic Load Balancing` | 
| Amazon EMR | `EMR Containers` | 
| Amazon Firewall Manager | `Firewall Manager` | 
| Amazon FSx | `FSx` | 
| Amazon GameLift Servers | `GameLift` | 
| Amazon Glue DataBrew | `DataBrew` | 
| Amazon Managed Grafana | `Grafana` | 
| Amazon IoT Greengrass | `Greengrass` | 
| Amazon Ground Station | `Ground Station` | 
| Amazon Health APIs And Notifications | `Amazon Health APIs And Notifications` | 
| Amazon Interactive Video Service | `IVS` | 
| Amazon IoT Core | `IoT` | 
| Amazon IoT Events | `IoT Events` | 
| Amazon IoT RoboRunner | `IoT RoboRunner` | 
| Amazon IoT SiteWise | `IoT Sitewise` | 
| Amazon IoT Wireless | `IoT Wireless` | 
| Amazon Kendra | `Kendra` | 
| Amazon Keyspaces (for Apache Cassandra) | `Keyspaces` | 
| Amazon Managed Service for Apache Flink | `Kinesis Analytics` | 
| Amazon Data Firehose | `Firehose` | 
| Kinesis Video Streams | `Kinesis Video Streams` | 
| Amazon Key Management Service | `KMS` | 
| Amazon Lambda | `Lambda` | 
| Amazon Launch Wizard | `Launch Wizard` | 
| Amazon Lex | `Amazon Lex` | 
| Amazon Lightsail | `Lightsail` | 
| Amazon Location Service | `Location` | 
| Amazon Lookout for Vision | `Lookout for Vision` | 
| Amazon Machine Learning | `Amazon Machine Learning` | 
| Amazon Macie | `Macie` | 
| Amazon Managed Blockchain (AMB) Query | `Amazon Managed Blockchain Query` | 
| Amazon Managed Services | `AWS Managed Services` | 
| Amazon Marketplace Commerce Analytics | `Marketplace Analytics Service` | 
| AWS Elemental MediaConnect | `MediaConnect` | 
| AWS Elemental MediaConvert | `MediaConvert` | 
| AWS Elemental MediaLive | `MediaLive` | 
| AWS Elemental MediaStore | `Mediastore` | 
| AWS Elemental MediaTailor | `MediaTailor` | 
| Amazon Mobile Hub | `Mobile Hub` | 
| Amazon Network Firewall | `Network Firewall` | 
| Amazon OpsWorks | `OpsWorks` | 
| Amazon OpsWorks for Configuration Management | `OPsWorks CM` | 
| Amazon Outposts | `Outposts` | 
| Amazon Organizations | `Organizations` | 
| Amazon RDS Performance Insights | `Performance Insights` | 
| Amazon Pinpoint | `Pinpoint` | 
| Amazon Private Certificate Authority | `Private Certificate Authority` | 
| Amazon Managed Service for Prometheus | `Prometheus` | 
| Amazon Proton | `Proton` | 
| Amazon Quantum Ledger Database (Amazon QLDB) | `QLDB` | 
| Amazon RDS | `RDS` | 
| Amazon Redshift | `Redshift Data API` | 
| Amazon Rekognition | `Rekognition` | 
| Amazon Resource Access Manager | `Resource Access Manager` | 
| Amazon Resource Groups | `Resource Groups` | 
| Amazon Resource Groups Tagging API | `Resource Groups Tagging API` | 
| Amazon Route 53 Domains | `Route 53 Domains` | 
| Amazon Route 53 Resolver | `Route 53 Resolver` | 
| Amazon S3 | `S3` | 
| Amazon Glacier | `Amazon S3 Glacier` | 
| Amazon SageMaker Runtime | `Sagemaker` | 
| Savings Plans | `Savings Plans` | 
| Amazon Secrets Manager | `Secrets Manager` | 
| Amazon Security Hub CSPM | `Security Hub` | 
| Amazon Server Migration Service | `Amazon Server Migration Service` | 
| Amazon Service Catalog AppRegistry | `Service Catalog AppRegistry` | 
| Service Quotas | `Service Quotas` | 
| Amazon Shield | `Shield` | 
| Amazon Signer | `Signer` | 
| Amazon Simple Notification Service | `SNS` | 
| Amazon Simple Email Service | `SES` | 
| Amazon Simple Queue Service | `SQS` | 
| Identity Store | `Identity Store` | 
| Storage Gateway | `Storage Gateway` | 
| Amazon Web Services Support | `Support` | 
| Amazon Simple Workflow Service | `SWF` | 
| Amazon Textract | `Textract` | 
| Amazon IoT Things Graph | `ThingsGraph` | 
| Amazon Timestream | `Timestream` | 
| Amazon Transcribe | `Transcribe` | 
| Amazon Translate | `Translate` | 
| Amazon Transcribe streaming transcription | `Transcribe Streaming` | 
| Amazon Transfer Family | `Transfer` | 
| Amazon WAF | `WAF` | 
| Amazon WorkLink | `WorkLink` | 
| Amazon WorkMail | `Amazon WorkMail` | 
| Amazon WorkSpaces | `Workspaces` | 
| Amazon X-Ray | `X-Ray` | 

Some services report usage metrics for additional APIs as well. To see whether an API reports usage metrics to CloudWatch, use the CloudWatch console to see the metrics reported by that service in the `AWS/Usage` namespace.

**To see the list of a service's APIs that report usage metrics to CloudWatch**

1. Open the CloudWatch console at [https://console.amazonaws.cn/cloudwatch/](https://console.amazonaws.cn/cloudwatch/).

1. In the navigation pane, choose **Metrics**.

1. On the **All metrics** tab, choose **Usage**, and then choose **By Amazon Resource**.

1. In the search box near the list of metrics, enter the name of the service. The metrics are filtered by the service you entered.