# Source: https://docs.datadoghq.com/api/latest/aws-integration/

![](https://d.adroll.com/cm/b/out?adroll_fpc=78c5680b6c34e98aed4a8ed35e36e1dc-1768337135447&pv=18704377853.58674&arrfrr=https%3A%2F%2Fdocs.datadoghq.com%2Fapi%2Flatest%2Faws-integration%2F&advertisable=AWPYDAH5JJH2JGSUWJVDKM)![](https://d.adroll.com/cm/bombora/out?adroll_fpc=78c5680b6c34e98aed4a8ed35e36e1dc-1768337135447&pv=18704377853.58674&arrfrr=https%3A%2F%2Fdocs.datadoghq.com%2Fapi%2Flatest%2Faws-integration%2F&advertisable=AWPYDAH5JJH2JGSUWJVDKM)![](https://d.adroll.com/cm/experian/out?adroll_fpc=78c5680b6c34e98aed4a8ed35e36e1dc-1768337135447&pv=18704377853.58674&arrfrr=https%3A%2F%2Fdocs.datadoghq.com%2Fapi%2Flatest%2Faws-integration%2F&advertisable=AWPYDAH5JJH2JGSUWJVDKM)![](https://d.adroll.com/cm/eyeota/out?adroll_fpc=78c5680b6c34e98aed4a8ed35e36e1dc-1768337135447&pv=18704377853.58674&arrfrr=https%3A%2F%2Fdocs.datadoghq.com%2Fapi%2Flatest%2Faws-integration%2F&advertisable=AWPYDAH5JJH2JGSUWJVDKM)![](https://d.adroll.com/cm/g/out?adroll_fpc=78c5680b6c34e98aed4a8ed35e36e1dc-1768337135447&pv=18704377853.58674&arrfrr=https%3A%2F%2Fdocs.datadoghq.com%2Fapi%2Flatest%2Faws-integration%2F&advertisable=AWPYDAH5JJH2JGSUWJVDKM)![](https://d.adroll.com/cm/index/out?adroll_fpc=78c5680b6c34e98aed4a8ed35e36e1dc-1768337135447&pv=18704377853.58674&arrfrr=https%3A%2F%2Fdocs.datadoghq.com%2Fapi%2Flatest%2Faws-integration%2F&advertisable=AWPYDAH5JJH2JGSUWJVDKM)![](https://d.adroll.com/cm/l/out?adroll_fpc=78c5680b6c34e98aed4a8ed35e36e1dc-1768337135447&pv=18704377853.58674&arrfrr=https%3A%2F%2Fdocs.datadoghq.com%2Fapi%2Flatest%2Faws-integration%2F&advertisable=AWPYDAH5JJH2JGSUWJVDKM)![](https://d.adroll.com/cm/n/out?adroll_fpc=78c5680b6c34e98aed4a8ed35e36e1dc-1768337135447&pv=18704377853.58674&arrfrr=https%3A%2F%2Fdocs.datadoghq.com%2Fapi%2Flatest%2Faws-integration%2F&advertisable=AWPYDAH5JJH2JGSUWJVDKM)![](https://d.adroll.com/cm/o/out?adroll_fpc=78c5680b6c34e98aed4a8ed35e36e1dc-1768337135447&pv=18704377853.58674&arrfrr=https%3A%2F%2Fdocs.datadoghq.com%2Fapi%2Flatest%2Faws-integration%2F&advertisable=AWPYDAH5JJH2JGSUWJVDKM)![](https://d.adroll.com/cm/outbrain/out?adroll_fpc=78c5680b6c34e98aed4a8ed35e36e1dc-1768337135447&pv=18704377853.58674&arrfrr=https%3A%2F%2Fdocs.datadoghq.com%2Fapi%2Flatest%2Faws-integration%2F&advertisable=AWPYDAH5JJH2JGSUWJVDKM)![](https://d.adroll.com/cm/pubmatic/out?adroll_fpc=78c5680b6c34e98aed4a8ed35e36e1dc-1768337135447&pv=18704377853.58674&arrfrr=https%3A%2F%2Fdocs.datadoghq.com%2Fapi%2Flatest%2Faws-integration%2F&advertisable=AWPYDAH5JJH2JGSUWJVDKM)![](https://d.adroll.com/cm/taboola/out?adroll_fpc=78c5680b6c34e98aed4a8ed35e36e1dc-1768337135447&pv=18704377853.58674&arrfrr=https%3A%2F%2Fdocs.datadoghq.com%2Fapi%2Flatest%2Faws-integration%2F&advertisable=AWPYDAH5JJH2JGSUWJVDKM)![](https://d.adroll.com/cm/triplelift/out?adroll_fpc=78c5680b6c34e98aed4a8ed35e36e1dc-1768337135447&pv=18704377853.58674&arrfrr=https%3A%2F%2Fdocs.datadoghq.com%2Fapi%2Flatest%2Faws-integration%2F&advertisable=AWPYDAH5JJH2JGSUWJVDKM)![](https://d.adroll.com/cm/x/out?adroll_fpc=78c5680b6c34e98aed4a8ed35e36e1dc-1768337135447&pv=18704377853.58674&arrfrr=https%3A%2F%2Fdocs.datadoghq.com%2Fapi%2Flatest%2Faws-integration%2F&advertisable=AWPYDAH5JJH2JGSUWJVDKM)
[Read the 2025 State of Containers and Serverless Report! Read the State of Containers and Serverless Report! ](https://www.datadoghq.com/state-of-containers-and-serverless/?utm_source=inbound&utm_medium=corpsite-display&utm_campaign=int-infra-ww-announcement-product-announcement-containers-serverless-2025)
  * [Product](https://www.datadoghq.com/product/)
The integrated platform for monitoring & security
[View Product Pricing](https://www.datadoghq.com/pricing/)
Observability
End-to-end, simplified visibility into your stack’s health & performance
Infrastructure
    * [Infrastructure Monitoring](https://www.datadoghq.com/product/infrastructure-monitoring/)
    * [Metrics](https://www.datadoghq.com/product/metrics/)
    * [Network Monitoring](https://www.datadoghq.com/product/network-monitoring/)
    * [Container Monitoring](https://www.datadoghq.com/product/container-monitoring/)
    * [Kubernetes Autoscaling](https://www.datadoghq.com/product/kubernetes-autoscaling/)
    * [Serverless](https://www.datadoghq.com/product/serverless-monitoring/)
    * [Cloud Cost Management](https://www.datadoghq.com/product/cloud-cost-management/)
    * [Cloudcraft](https://www.datadoghq.com/product/cloudcraft/)
    * [Storage Management](https://www.datadoghq.com/product/storage-management/)
Applications
    * [Application Performance Monitoring](https://www.datadoghq.com/product/apm/)
    * [Universal Service Monitoring](https://www.datadoghq.com/product/universal-service-monitoring/)
    * [Continuous Profiler](https://www.datadoghq.com/product/code-profiling/)
    * [Dynamic Instrumentation](https://www.datadoghq.com/product/dynamic-instrumentation/)
    * [LLM Observability](https://www.datadoghq.com/product/llm-observability/)
Data
    * [Database Monitoring](https://www.datadoghq.com/product/database-monitoring/)
    * [Data Streams Monitoring](https://www.datadoghq.com/product/data-streams-monitoring/)
    * [Quality Monitoring](https://www.datadoghq.com/product/data-observability/quality-monitoring/)
    * [Jobs Monitoring](https://www.datadoghq.com/product/data-observability/jobs-monitoring/)
Logs
    * [Log Management](https://www.datadoghq.com/product/log-management/)
    * [Sensitive Data Scanner](https://www.datadoghq.com/product/sensitive-data-scanner/)
    * [Audit Trail](https://www.datadoghq.com/product/audit-trail/)
    * [Observability Pipelines](https://www.datadoghq.com/product/observability-pipelines/)
    * [Error Tracking](https://www.datadoghq.com/product/error-tracking/)
    * [CloudPrem](https://www.datadoghq.com/product/cloudprem/)
Infrastructure
Applications
Data
Logs
Security
Detect, prioritize, and respond to threats in real-time
Code Security
    * [Code Security](https://www.datadoghq.com/product/code-security/)
    * [Software Composition Analysis](https://www.datadoghq.com/product/software-composition-analysis/)
    * [Static Code Analysis (SAST)](https://www.datadoghq.com/product/sast/)
    * [Runtime Code Analysis (IAST)](https://www.datadoghq.com/product/iast/)
    * [IaC Security](https://www.datadoghq.com/product/iac-security)
    * [Secret Scanning](https://www.datadoghq.com/product/secret-scanning/)
Cloud Security
    * [Cloud Security](https://www.datadoghq.com/product/cloud-security/)
    * [Cloud Security Posture Management](https://www.datadoghq.com/product/cloud-security/#posture-management)
    * [Cloud Infrastructure Entitlement Management](https://www.datadoghq.com/product/cloud-security/#entitlement-management)
    * [Vulnerability Management](https://www.datadoghq.com/product/cloud-security/#vulnerability-management)
    * [Compliance](https://www.datadoghq.com/product/cloud-security/#compliance)
Threat Management
    * [Cloud SIEM](https://www.datadoghq.com/product/cloud-siem/)
    * [Workload Protection](https://www.datadoghq.com/product/workload-protection/)
    * [App and API Protection](https://www.datadoghq.com/product/app-and-api-protection/)
    * [Sensitive Data Scanner](https://www.datadoghq.com/product/sensitive-data-scanner/)
Security Labs
    * [Security Labs Research](https://securitylabs.datadoghq.com/)
    * [Open Source Projects](https://opensource.datadoghq.com/)
Digital Experience
Optimize front-end performance and enhance user experiences
Digital Experience
    * [Browser Real User Monitoring](https://www.datadoghq.com/product/real-user-monitoring/)
    * [Mobile Real User Monitoring](https://www.datadoghq.com/product/real-user-monitoring/mobile-rum/)
    * [Product Analytics](https://www.datadoghq.com/product/product-analytics/)
    * [Session Replay](https://www.datadoghq.com/product/real-user-monitoring/session-replay/)
    * [Synthetic Monitoring](https://www.datadoghq.com/product/synthetic-monitoring/)
    * [Mobile App Testing](https://www.datadoghq.com/product/mobile-app-testing/)
    * [Error Tracking](https://www.datadoghq.com/product/error-tracking/)
Related Products
    * [Continuous Testing](https://www.datadoghq.com/product/continuous-testing/)
    * [Dashboards](https://www.datadoghq.com/product/platform/dashboards/)
    * [Application Performance Monitoring](https://www.datadoghq.com/product/apm/)
Software Delivery
Build, test, secure and ship quality code faster
Software Delivery
    * [Internal Developer Portal](https://www.datadoghq.com/product/internal-developer-portal/)
    * [CI Visibility](https://www.datadoghq.com/product/ci-cd-monitoring/)
    * [Test Optimization](https://www.datadoghq.com/product/test-optimization/)
    * [Continuous Testing](https://www.datadoghq.com/product/continuous-testing/)
    * [IDE Plugins](https://www.datadoghq.com/product/platform/ides/)
    * [DORA Metrics](https://www.datadoghq.com/product/platform/dora-metrics/)
    * [Feature Flags](https://www.datadoghq.com/product/feature-flags/)
    * [Code Coverage](https://www.datadoghq.com/product/code-coverage/)
Related Products
    * [Software Composition Analysis](https://www.datadoghq.com/product/software-composition-analysis/)
    * [Application Performance Monitoring](https://www.datadoghq.com/product/apm/)
    * [Synthetic Monitoring](https://www.datadoghq.com/product/synthetic-monitoring/)
    * [Browser Real User Monitoring](https://www.datadoghq.com/product/real-user-monitoring/)
    * [Workflow Automation](https://www.datadoghq.com/product/workflow-automation/)
    * [integrations](https://www.datadoghq.com/product/platform/integrations/)
Service Management
Integrated, streamlined workflows for faster time-to-resolution
Service Management
    * [Incident Response](https://www.datadoghq.com/product/incident-response/)
    * [Software Catalog](https://www.datadoghq.com/product/software-catalog/)
    * [Service Level Objectives](https://www.datadoghq.com/product/service-level-objectives/)
    * [Case Management](https://www.datadoghq.com/product/case-management/)
Actions
    * [Workflow Automation](https://www.datadoghq.com/product/workflow-automation/)
    * [App Builder](https://www.datadoghq.com/product/app-builder/)
Agentic & Embedded
    * [Bits AI SRE](https://www.datadoghq.com/product/ai/bits-ai-sre/)
    * [Watchdog](https://www.datadoghq.com/product/platform/watchdog/)
    * [Event Management](https://www.datadoghq.com/product/event-management/)
AI
Monitor and improve model performance. Pinpoint root causes and detect anomalies
AI Observability
    * [LLM Observability](https://www.datadoghq.com/product/llm-observability/)
    * [AI Integrations](https://www.datadoghq.com/product/platform/integrations/#cat-aiml)
Agentic & Embedded
    * [Bits AI Agents](https://www.datadoghq.com/product/ai/bits-ai-agents/)
    * [Bits AI SRE](https://www.datadoghq.com/product/ai/bits-ai-sre/)
    * [Watchdog](https://www.datadoghq.com/product/platform/watchdog/)
    * [Event Management](https://www.datadoghq.com/product/event-management/)
Related Products
    * [Incident Response](https://www.datadoghq.com/product/incident-response/)
    * [Workflow Automation](https://www.datadoghq.com/product/workflow-automation/)
    * [Application Performance Monitoring](https://www.datadoghq.com/product/apm/)
    * [Universal Service Monitoring](https://www.datadoghq.com/product/universal-service-monitoring/)
    * [Log Management](https://www.datadoghq.com/product/log-management/)
Platform Capabilities
Built-in features & integrations that power the Datadog platform
Built-in Features
    * [Bits AI Agents](https://www.datadoghq.com/product/ai/bits-ai-agents/)
    * [Metrics](https://www.datadoghq.com/product/metrics/)
    * [Watchdog](https://www.datadoghq.com/product/platform/watchdog/)
    * [Alerts](https://www.datadoghq.com/product/platform/alerts/)
    * [Dashboards](https://www.datadoghq.com/product/platform/dashboards/)
    * [Notebooks](https://docs.datadoghq.com/notebooks/)
    * [Mobile App](https://docs.datadoghq.com/service_management/mobile/?tab=ios)
    * [Fleet Automation](https://www.datadoghq.com/product/fleet-automation/)
    * [Access Control](https://docs.datadoghq.com/account_management/rbac/?tab=datadogapplication)
    * [DORA Metrics](https://www.datadoghq.com/product/platform/dora-metrics/)
Workflows & Collaboration
    * [Incident Response](https://www.datadoghq.com/product/incident-response/)
    * [Case Management](https://www.datadoghq.com/product/case-management/)
    * [Event Management](https://www.datadoghq.com/product/event-management/)
    * [Workflow Automation](https://www.datadoghq.com/product/workflow-automation/)
    * [App Builder](https://www.datadoghq.com/product/app-builder/)
    * [Cloudcraft](https://www.datadoghq.com/product/cloudcraft/)
    * [CoScreen](https://www.datadoghq.com/product/coscreen/)
    * [Teams](https://docs.datadoghq.com/account_management/teams/)
Extensibility
    * [OpenTelemetry](https://www.datadoghq.com/solutions/opentelemetry/)
    * [integrations](https://www.datadoghq.com/product/platform/integrations/)
    * [IDE Plugins](https://www.datadoghq.com/product/platform/ides/)
    * [API](https://docs.datadoghq.com/api/)
    * [Marketplace](https://www.datadoghq.com/marketplacepartners/)
  * [Customers](https://www.datadoghq.com/customers/)
  * [Pricing](https://www.datadoghq.com/pricing/)
  * [Solutions](https://www.datadoghq.com/)
Industry
      * [Financial Services](https://www.datadoghq.com/solutions/financial-services/)
      * [Manufacturing & Logistics](https://www.datadoghq.com/solutions/manufacturing-logistics/)
      * [Healthcare/Life Sciences](https://www.datadoghq.com/solutions/healthcare/)
      * [Retail/E-Commerce](https://www.datadoghq.com/solutions/retail-ecommerce/)
      * [Government](https://www.datadoghq.com/solutions/government/)
      * [Education](https://www.datadoghq.com/solutions/education/)
      * [Media & Entertainment](https://www.datadoghq.com/solutions/media-entertainment/)
      * [Technology](https://www.datadoghq.com/solutions/technology/)
      * [Gaming](https://www.datadoghq.com/solutions/gaming/)
Technology
      * [Amazon Web Services Monitoring](https://www.datadoghq.com/solutions/aws/)
      * [Azure Monitoring](https://www.datadoghq.com/solutions/azure/)
      * [Google Cloud Monitoring](https://www.datadoghq.com/solutions/googlecloud/)
      * [Oracle Cloud Monitoring](https://www.datadoghq.com/solutions/oci-monitoring/)
      * [Kubernetes Monitoring](https://www.datadoghq.com/solutions/kubernetes/)
      * [Red Hat OpenShift](https://www.datadoghq.com/solutions/openshift/)
      * [Pivotal Platform](https://www.datadoghq.com/solutions/pivotal-platform/)
      * [OpenAI](https://www.datadoghq.com/solutions/openai/)
      * [SAP Monitoring](https://www.datadoghq.com/solutions/sap-monitoring/)
      * [OpenTelemetry](https://www.datadoghq.com/solutions/opentelemetry/)
Use-case
      * [Application Security](https://www.datadoghq.com/solutions/application-security/)
      * [Cloud Migration](https://www.datadoghq.com/solutions/cloud-migration/)
      * [Monitoring Consolidation](https://www.datadoghq.com/solutions/monitoring-consolidation/)
      * [Unified Commerce Monitoring](https://www.datadoghq.com/solutions/unified-commerce-monitoring/)
      * [SOAR](https://www.datadoghq.com/solutions/soar/)
      * [DevOps](https://www.datadoghq.com/solutions/devops/)
      * [FinOps](https://www.datadoghq.com/solutions/finops/)
      * [Shift-Left Testing](https://www.datadoghq.com/solutions/shift-left-testing/)
      * [Digital Experience Monitoring](https://www.datadoghq.com/solutions/digital-experience-monitoring/)
      * [Security Analytics](https://www.datadoghq.com/solutions/security-analytics/)
      * [Compliance for CIS Benchmarks](https://www.datadoghq.com/solutions/security/cis-benchmarks/aws/)
      * [Hybrid Cloud Monitoring](https://www.datadoghq.com/solutions/hybrid-cloud-monitoring/)
      * [IoT Monitoring](https://www.datadoghq.com/solutions/iot-monitoring/)
      * [Real-Time BI](https://www.datadoghq.com/solutions/real-time-business-intelligence/)
      * [On-Premises Monitoring](https://www.datadoghq.com/solutions/on-premises-monitoring/)
      * [Log Analysis & Correlation](https://www.datadoghq.com/solutions/log-analysis-and-correlation/)
      * [CNAPP](https://www.datadoghq.com/solutions/cnapp/)
  * [Docs](https://docs.datadoghq.com/)


[![DataDog](https://datadog-docs.imgix.net/img/dd_logo_n_70x75.png?ch=Width,DPR&fit=max&auto=format&w=70&h=75) ![DataDog](https://datadog-docs.imgix.net/img/dd-logo-n-200.png?ch=Width,DPR&fit=max&auto=format&h=14&auto=format&w=807) White modal up arrow Looking for Datadog logos? You can find the logo assets on our press page. Download Media Assets ](https://docs.datadoghq.com/)
  * [About](https://www.datadoghq.com/about/leadership/)
    * [Contact](https://www.datadoghq.com/about/contact/)
    * [Partners](https://www.datadoghq.com/partner/network/)
    * [Latest News](https://www.datadoghq.com/about/latest-news/press-releases/)
    * [Events & Webinars](https://www.datadoghq.com/events-webinars/)
    * [Leadership](https://www.datadoghq.com/about/leadership/)
    * [Careers](https://careers.datadoghq.com/)
    * [Analyst Reports](https://www.datadoghq.com/about/analyst/)
    * [Investor Relations](https://investors.datadoghq.com/)
    * [ESG Report](https://www.datadoghq.com/esg-report/)
    * [Trust Hub](https://www.datadoghq.com/trust/)
  * [Blog](https://www.datadoghq.com/blog/)
    * [The Monitor](https://www.datadoghq.com/blog/)
    * [Engineering](https://www.datadoghq.com/blog/engineering/)
    * [AI](https://www.datadoghq.com/blog/ai/)
    * [Security Labs](https://securitylabs.datadoghq.com/)
  * [Login](https://app.datadoghq.com/)
  * [](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [GET STARTED FREE FREE TRIAL](https://www.datadoghq.com/)


[![Datadog Logo](https://datadog-docs.imgix.net/img/datadog_rbg_n_2x.png?fm=png&auto=format&lossless=1)](https://docs.datadoghq.com/)
Toggle navigation
[ Home ](https://www.datadoghq.com)[ Docs ](https://docs.datadoghq.com/)[ API](https://docs.datadoghq.com/api/)
  * [Essentials ](https://docs.datadoghq.com/api/latest/aws-integration/)
    * [Getting Started](https://docs.datadoghq.com/getting_started/)
      * [Agent](https://docs.datadoghq.com/getting_started/agent/)
      * [API](https://docs.datadoghq.com/getting_started/api/)
      * [APM Tracing](https://docs.datadoghq.com/getting_started/tracing/)
      * [Containers](https://docs.datadoghq.com/getting_started/containers/)
        * [Autodiscovery](https://docs.datadoghq.com/getting_started/containers/autodiscovery)
        * [Datadog Operator](https://docs.datadoghq.com/getting_started/containers/datadog_operator)
      * [Dashboards](https://docs.datadoghq.com/getting_started/dashboards/)
      * [Database Monitoring](https://docs.datadoghq.com/getting_started/database_monitoring/)
      * [Datadog](https://docs.datadoghq.com/getting_started/application/)
      * [Datadog Site](https://docs.datadoghq.com/getting_started/site/)
      * [DevSecOps](https://docs.datadoghq.com/getting_started/devsecops)
      * [Incident Management](https://docs.datadoghq.com/getting_started/incident_management/)
      * [Integrations](https://docs.datadoghq.com/getting_started/integrations/)
        * [AWS](https://docs.datadoghq.com/getting_started/integrations/aws/)
        * [Azure](https://docs.datadoghq.com/getting_started/integrations/azure/)
        * [Google Cloud](https://docs.datadoghq.com/getting_started/integrations/google_cloud/)
        * [Terraform](https://docs.datadoghq.com/getting_started/integrations/terraform/)
      * [Internal Developer Portal](https://docs.datadoghq.com/getting_started/internal_developer_portal/)
      * [Logs](https://docs.datadoghq.com/getting_started/logs/)
      * [Monitors](https://docs.datadoghq.com/getting_started/monitors/)
      * [Notebooks](https://docs.datadoghq.com/getting_started/notebooks/)
      * [OpenTelemetry](https://docs.datadoghq.com/getting_started/opentelemetry/)
      * [Profiler](https://docs.datadoghq.com/getting_started/profiler/)
      * [Search](https://docs.datadoghq.com/getting_started/search/)
        * [Product-Specific Search](https://docs.datadoghq.com/getting_started/search/product_specific_reference)
      * [Session Replay](https://docs.datadoghq.com/getting_started/session_replay/)
      * [Security](https://docs.datadoghq.com/getting_started/security/)
        * [App and API Protection](https://docs.datadoghq.com/getting_started/security/application_security)
        * [Cloud Security](https://docs.datadoghq.com/getting_started/security/cloud_security_management/)
        * [Cloud SIEM](https://docs.datadoghq.com/getting_started/security/cloud_siem/)
        * [Code Security](https://docs.datadoghq.com/getting_started/code_security/)
      * [Serverless for AWS Lambda](https://docs.datadoghq.com/getting_started/serverless/)
      * [Software Delivery](https://docs.datadoghq.com/getting_started/software_delivery/)
        * [CI Visibility](https://docs.datadoghq.com/getting_started/ci_visibility/)
        * [Feature Flags](https://docs.datadoghq.com/getting_started/feature_flags/)
        * [Test Optimization](https://docs.datadoghq.com/getting_started/test_optimization/)
        * [Test Impact Analysis](https://docs.datadoghq.com/getting_started/test_impact_analysis/)
      * [Synthetic Monitoring and Testing](https://docs.datadoghq.com/getting_started/synthetics/)
        * [API Tests](https://docs.datadoghq.com/getting_started/synthetics/api_test)
        * [Browser Tests](https://docs.datadoghq.com/getting_started/synthetics/browser_test)
        * [Mobile App Tests](https://docs.datadoghq.com/getting_started/synthetics/mobile_app_testing)
        * [Continuous Testing](https://docs.datadoghq.com/getting_started/continuous_testing/)
        * [Private Locations](https://docs.datadoghq.com/getting_started/synthetics/private_location)
      * [Tags](https://docs.datadoghq.com/getting_started/tagging/)
        * [Assigning Tags](https://docs.datadoghq.com/getting_started/tagging/assigning_tags)
        * [Unified Service Tagging](https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging)
        * [Using Tags](https://docs.datadoghq.com/getting_started/tagging/using_tags)
      * [Workflow Automation](https://docs.datadoghq.com/getting_started/workflow_automation/)
      * [Learning Center](https://docs.datadoghq.com/getting_started/learning_center/)
      * [Support](https://docs.datadoghq.com/getting_started/support/)
    * [Glossary](https://docs.datadoghq.com/glossary/)
    * [Standard Attributes](https://docs.datadoghq.com/standard-attributes)
    * [Guides](https://docs.datadoghq.com/all_guides/)
    * [Agent](https://docs.datadoghq.com/agent/)
      * [Architecture](https://docs.datadoghq.com/agent/architecture/)
      * [IoT](https://docs.datadoghq.com/agent/iot/)
      * [Supported Platforms](https://docs.datadoghq.com/agent/supported_platforms/)
        * [AIX](https://docs.datadoghq.com/agent/supported_platforms/aix/)
        * [Linux](https://docs.datadoghq.com/agent/supported_platforms/linux/)
        * [Ansible](https://docs.datadoghq.com/agent/supported_platforms/ansible/)
        * [Chef](https://docs.datadoghq.com/agent/supported_platforms/chef/)
        * [Heroku](https://docs.datadoghq.com/agent/supported_platforms/heroku/)
        * [MacOS](https://docs.datadoghq.com/agent/supported_platforms/osx/)
        * [Puppet](https://docs.datadoghq.com/agent/supported_platforms/puppet/)
        * [SaltStack](https://docs.datadoghq.com/agent/supported_platforms/saltstack/)
        * [SCCM](https://docs.datadoghq.com/agent/supported_platforms/sccm/)
        * [Windows](https://docs.datadoghq.com/agent/supported_platforms/windows/)
        * [From Source](https://docs.datadoghq.com/agent/supported_platforms/source/)
      * [Log Collection](https://docs.datadoghq.com/agent/logs/)
        * [Log Agent tags](https://docs.datadoghq.com/agent/logs/agent_tags/)
        * [Advanced Configurations](https://docs.datadoghq.com/agent/logs/advanced_log_collection)
        * [Proxy](https://docs.datadoghq.com/agent/logs/proxy)
        * [Transport](https://docs.datadoghq.com/agent/logs/log_transport)
        * [Multi-Line Detection](https://docs.datadoghq.com/agent/logs/auto_multiline_detection)
      * [Configuration](https://docs.datadoghq.com/agent/configuration)
        * [Commands](https://docs.datadoghq.com/agent/configuration/agent-commands/)
        * [Configuration Files](https://docs.datadoghq.com/agent/configuration/agent-configuration-files/)
        * [Log Files](https://docs.datadoghq.com/agent/configuration/agent-log-files/)
        * [Status Page](https://docs.datadoghq.com/agent/configuration/agent-status-page/)
        * [Network Traffic](https://docs.datadoghq.com/agent/configuration/network/)
        * [Proxy Configuration](https://docs.datadoghq.com/agent/configuration/proxy/)
        * [FIPS Compliance](https://docs.datadoghq.com/agent/configuration/fips-compliance/)
        * [Dual Shipping](https://docs.datadoghq.com/agent/configuration/dual-shipping/)
        * [Secrets Management](https://docs.datadoghq.com/agent/configuration/secrets-management/)
      * [Fleet Automation](https://docs.datadoghq.com/agent/fleet_automation)
        * [Remote Agent Management](https://docs.datadoghq.com/agent/fleet_automation/remote_management)
      * [Troubleshooting](https://docs.datadoghq.com/agent/troubleshooting/)
        * [Container Hostname Detection](https://docs.datadoghq.com/agent/troubleshooting/hostname_containers/)
        * [Debug Mode](https://docs.datadoghq.com/agent/troubleshooting/debug_mode/)
        * [Agent Flare](https://docs.datadoghq.com/agent/troubleshooting/send_a_flare/)
        * [Agent Check Status](https://docs.datadoghq.com/agent/troubleshooting/agent_check_status/)
        * [NTP Issues](https://docs.datadoghq.com/agent/troubleshooting/ntp/)
        * [Permission Issues](https://docs.datadoghq.com/agent/troubleshooting/permissions/)
        * [Integrations Issues](https://docs.datadoghq.com/agent/troubleshooting/integrations/)
        * [Site Issues](https://docs.datadoghq.com/agent/troubleshooting/site/)
        * [Autodiscovery Issues](https://docs.datadoghq.com/agent/troubleshooting/autodiscovery/)
        * [Windows Container Issues](https://docs.datadoghq.com/agent/troubleshooting/windows_containers)
        * [Agent Runtime Configuration](https://docs.datadoghq.com/agent/troubleshooting/config)
        * [High CPU or Memory Consumption](https://docs.datadoghq.com/agent/troubleshooting/high_memory_usage/)
      * [Guides](https://docs.datadoghq.com/agent/guide/)
      * [Data Security](https://docs.datadoghq.com/data_security/agent/)
    * [Integrations](https://docs.datadoghq.com/integrations/)
      * [Guides](https://docs.datadoghq.com/integrations/guide/)
    * [Developers](https://docs.datadoghq.com/developers/)
      * [Authorization](https://docs.datadoghq.com/developers/authorization/)
        * [OAuth2 in Datadog](https://docs.datadoghq.com/developers/authorization/oauth2_in_datadog/)
        * [Authorization Endpoints](https://docs.datadoghq.com/developers/authorization/oauth2_endpoints/)
      * [DogStatsD](https://docs.datadoghq.com/developers/dogstatsd/)
        * [Datagram Format](https://docs.datadoghq.com/developers/dogstatsd/datagram_shell)
        * [Unix Domain Socket](https://docs.datadoghq.com/developers/dogstatsd/unix_socket)
        * [High Throughput Data](https://docs.datadoghq.com/developers/dogstatsd/high_throughput/)
        * [Data Aggregation](https://docs.datadoghq.com/developers/dogstatsd/data_aggregation/)
        * [DogStatsD Mapper](https://docs.datadoghq.com/developers/dogstatsd/dogstatsd_mapper/)
      * [Custom Checks](https://docs.datadoghq.com/developers/custom_checks/)
        * [Writing a Custom Agent Check](https://docs.datadoghq.com/developers/custom_checks/write_agent_check/)
        * [Writing a Custom OpenMetrics Check](https://docs.datadoghq.com/developers/custom_checks/prometheus/)
      * [Integrations](https://docs.datadoghq.com/developers/integrations/)
        * [Build an Integration with Datadog](https://docs.datadoghq.com/developers/integrations/build_integration/)
        * [Create an Agent-based Integration](https://docs.datadoghq.com/developers/integrations/agent_integration/)
        * [Create an API-based Integration](https://docs.datadoghq.com/developers/integrations/api_integration/)
        * [Create a Log Pipeline](https://docs.datadoghq.com/developers/integrations/log_pipeline/)
        * [Integration Assets Reference](https://docs.datadoghq.com/developers/integrations/check_references/)
        * [Build a Marketplace Offering](https://docs.datadoghq.com/developers/integrations/marketplace_offering/)
        * [Create an Integration Dashboard](https://docs.datadoghq.com/developers/integrations/create-an-integration-dashboard)
        * [Create a Monitor Template](https://docs.datadoghq.com/developers/integrations/create-an-integration-monitor-template)
        * [Create a Cloud SIEM Detection Rule](https://docs.datadoghq.com/developers/integrations/create-a-cloud-siem-detection-rule)
        * [Install Agent Integration Developer Tool](https://docs.datadoghq.com/developers/integrations/python/)
      * [Service Checks](https://docs.datadoghq.com/developers/service_checks/)
        * [Submission - Agent Check](https://docs.datadoghq.com/developers/service_checks/agent_service_checks_submission/)
        * [Submission - DogStatsD](https://docs.datadoghq.com/developers/service_checks/dogstatsd_service_checks_submission/)
        * [Submission - API](https://docs.datadoghq.com/api/v1/service-checks/)
      * [IDE Plugins](https://docs.datadoghq.com/developers/ide_plugins/)
        * [JetBrains IDEs](https://docs.datadoghq.com/developers/ide_plugins/idea/)
        * [VS Code & Cursor](https://docs.datadoghq.com/developers/ide_plugins/vscode/)
      * [Community](https://docs.datadoghq.com/developers/community/)
        * [Libraries](https://docs.datadoghq.com/developers/community/libraries/)
      * [Guides](https://docs.datadoghq.com/developers/guide/)
    * [OpenTelemetry](https://docs.datadoghq.com/opentelemetry/)
      * [Getting Started](https://docs.datadoghq.com/opentelemetry/getting_started/)
        * [Datadog Example Application](https://docs.datadoghq.com/opentelemetry/getting_started/datadog_example)
        * [OpenTelemetry Demo Application](https://docs.datadoghq.com/opentelemetry/getting_started/otel_demo_to_datadog)
      * [Feature Compatibility](https://docs.datadoghq.com/opentelemetry/compatibility/)
      * [Instrument Your Applications](https://docs.datadoghq.com/opentelemetry/instrument/)
        * [OTel SDKs](https://docs.datadoghq.com/opentelemetry/instrument/otel_sdks/)
        * [OTel APIs with Datadog SDKs](https://docs.datadoghq.com/opentelemetry/instrument/api_support)
        * [OTel Instrumentation Libraries](https://docs.datadoghq.com/opentelemetry/instrument/instrumentation_libraries/)
        * [Configuration](https://docs.datadoghq.com/opentelemetry/config/environment_variable_support/)
      * [Send Data to Datadog](https://docs.datadoghq.com/opentelemetry/setup/)
        * [DDOT Collector (Recommended)](https://docs.datadoghq.com/opentelemetry/setup/ddot_collector)
        * [Other Setup Options](https://docs.datadoghq.com/opentelemetry/setup/)
      * [Semantic Mapping](https://docs.datadoghq.com/opentelemetry/mapping/)
        * [Resource Attribute Mapping](https://docs.datadoghq.com/opentelemetry/mapping/semantic_mapping/)
        * [Metrics Mapping](https://docs.datadoghq.com/opentelemetry/mapping/metrics_mapping/)
        * [Infrastructure Host Mapping](https://docs.datadoghq.com/opentelemetry/mapping/host_metadata/)
        * [Hostname Mapping](https://docs.datadoghq.com/opentelemetry/mapping/hostname/)
        * [Service-entry Spans Mapping](https://docs.datadoghq.com/opentelemetry/mapping/service_entry_spans/)
      * [Ingestion Sampling](https://docs.datadoghq.com/opentelemetry/ingestion_sampling)
      * [Correlate Data](https://docs.datadoghq.com/opentelemetry/correlate/)
        * [Logs and Traces](https://docs.datadoghq.com/opentelemetry/correlate/logs_and_traces/)
        * [Metrics and Traces](https://docs.datadoghq.com/opentelemetry/correlate/metrics_and_traces/)
        * [RUM and Traces](https://docs.datadoghq.com/opentelemetry/correlate/rum_and_traces/)
        * [DBM and Traces](https://docs.datadoghq.com/opentelemetry/correlate/dbm_and_traces/)
      * [Integrations](https://docs.datadoghq.com/opentelemetry/integrations/)
        * [Apache Metrics](https://docs.datadoghq.com/opentelemetry/integrations/apache_metrics/)
        * [Apache Spark Metrics](https://docs.datadoghq.com/opentelemetry/integrations/spark_metrics/)
        * [Collector Health Metrics](https://docs.datadoghq.com/opentelemetry/integrations/collector_health_metrics/)
        * [Datadog Extension](https://docs.datadoghq.com/opentelemetry/integrations/datadog_extension/)
        * [Docker Metrics](https://docs.datadoghq.com/opentelemetry/integrations/docker_metrics/)
        * [HAProxy Metrics](https://docs.datadoghq.com/opentelemetry/integrations/haproxy_metrics/)
        * [Host Metrics](https://docs.datadoghq.com/opentelemetry/integrations/host_metrics/)
        * [IIS Metrics](https://docs.datadoghq.com/opentelemetry/integrations/iis_metrics/)
        * [Kafka Metrics](https://docs.datadoghq.com/opentelemetry/integrations/kafka_metrics/)
        * [Kubernetes Metrics](https://docs.datadoghq.com/opentelemetry/integrations/kubernetes_metrics/)
        * [MySQL Metrics](https://docs.datadoghq.com/opentelemetry/integrations/mysql_metrics/)
        * [NGINX Metrics](https://docs.datadoghq.com/opentelemetry/integrations/nginx_metrics/)
        * [Podman Metrics](https://docs.datadoghq.com/opentelemetry/integrations/podman_metrics/)
        * [Runtime Metrics](https://docs.datadoghq.com/opentelemetry/integrations/runtime_metrics/)
        * [Trace Metrics](https://docs.datadoghq.com/opentelemetry/integrations/trace_metrics/)
      * [Troubleshooting](https://docs.datadoghq.com/opentelemetry/troubleshooting/)
      * [Guides and Resources](https://docs.datadoghq.com/opentelemetry/guide)
        * [Produce Delta Temporality Metrics](https://docs.datadoghq.com/opentelemetry/guide/otlp_delta_temporality)
        * [Visualize Histograms as Heatmaps](https://docs.datadoghq.com/opentelemetry/guide/otlp_histogram_heatmaps)
        * [Migration Guides](https://docs.datadoghq.com/opentelemetry/migrate/)
      * [Reference](https://docs.datadoghq.com/opentelemetry/reference)
        * [Terms and Concepts](https://docs.datadoghq.com/opentelemetry/reference/concepts)
        * [Trace Context Propagation](https://docs.datadoghq.com/opentelemetry/reference/trace_context_propagation)
        * [Trace IDs](https://docs.datadoghq.com/opentelemetry/reference/trace_ids)
        * [OTLP Metric Types](https://docs.datadoghq.com/opentelemetry/reference/otlp_metric_types)
    * [Administrator's Guide](https://docs.datadoghq.com/administrators_guide/)
      * [Getting Started](https://docs.datadoghq.com/administrators_guide/getting_started/)
      * [Plan](https://docs.datadoghq.com/administrators_guide/plan/)
      * [Build](https://docs.datadoghq.com/administrators_guide/build/)
      * [Run](https://docs.datadoghq.com/administrators_guide/run/)
    * [API](https://docs.datadoghq.com/api/)
    * [Partners](https://docs.datadoghq.com/partners/)
    * [Datadog Mobile App](https://docs.datadoghq.com/mobile/)
      * [Enterprise Configuration](https://docs.datadoghq.com/mobile/enterprise_configuration)
      * [Datadog for Intune](https://docs.datadoghq.com/mobile/datadog_for_intune)
      * [Shortcut Configurations](https://docs.datadoghq.com/mobile/shortcut_configurations)
      * [Push Notifications](https://docs.datadoghq.com/mobile/push_notification)
      * [Widgets](https://docs.datadoghq.com/mobile/widgets)
      * [Guides](https://docs.datadoghq.com/mobile/guide)
    * [DDSQL Reference](https://docs.datadoghq.com/ddsql_reference/)
      * [Data Directory](https://docs.datadoghq.com/ddsql_reference/data_directory/)
    * [CoScreen](https://docs.datadoghq.com/coscreen/)
      * [Troubleshooting](https://docs.datadoghq.com/coscreen/troubleshooting)
    * [CoTerm](https://docs.datadoghq.com/coterm/)
      * [Install](https://docs.datadoghq.com/coterm/install)
      * [Using CoTerm](https://docs.datadoghq.com/coterm/usage)
      * [Configuration Rules](https://docs.datadoghq.com/coterm/rules)
    * [Remote Configuration](https://docs.datadoghq.com/remote_configuration)
    * [Cloudcraft (Standalone)](https://docs.datadoghq.com/cloudcraft/)
      * [Getting Started](https://docs.datadoghq.com/cloudcraft/getting-started/)
      * [Account Management](https://docs.datadoghq.com/cloudcraft/account-management/)
      * [Components: Common](https://docs.datadoghq.com/cloudcraft/components-common/)
      * [Components: Azure](https://docs.datadoghq.com/cloudcraft/components-azure/)
      * [Components: AWS](https://docs.datadoghq.com/cloudcraft/components-aws/)
      * [Advanced](https://docs.datadoghq.com/cloudcraft/advanced/)
      * [FAQ](https://docs.datadoghq.com/cloudcraft/faq/)
      * [API](https://docs.datadoghq.com/cloudcraft/api)
        * [AWS Accounts](https://docs.datadoghq.com/cloudcraft/api/aws-accounts/)
        * [Azure Accounts](https://docs.datadoghq.com/cloudcraft/api/azure-accounts/)
        * [Blueprints](https://docs.datadoghq.com/cloudcraft/api/blueprints/)
        * [Budgets](https://docs.datadoghq.com/cloudcraft/api/budgets/)
        * [Teams](https://docs.datadoghq.com/cloudcraft/api/teams/)
        * [Users](https://docs.datadoghq.com/cloudcraft/api/users/)
  * [In The App ](https://docs.datadoghq.com/api/latest/aws-integration/)
    * [Dashboards](https://docs.datadoghq.com/dashboards/)
      * [Configure](https://docs.datadoghq.com/dashboards/configure/)
      * [Dashboard List](https://docs.datadoghq.com/dashboards/list/)
      * [Widgets](https://docs.datadoghq.com/dashboards/widgets/)
        * [Configuration](https://docs.datadoghq.com/dashboards/widgets/configuration/)
        * [Widget Types](https://docs.datadoghq.com/dashboards/widgets/types/)
      * [Querying](https://docs.datadoghq.com/dashboards/querying/)
      * [Functions](https://docs.datadoghq.com/dashboards/functions/)
        * [Algorithms](https://docs.datadoghq.com/dashboards/functions/algorithms/)
        * [Arithmetic](https://docs.datadoghq.com/dashboards/functions/arithmetic/)
        * [Count](https://docs.datadoghq.com/dashboards/functions/count/)
        * [Exclusion](https://docs.datadoghq.com/dashboards/functions/exclusion/)
        * [Interpolation](https://docs.datadoghq.com/dashboards/functions/interpolation/)
        * [Rank](https://docs.datadoghq.com/dashboards/functions/rank/)
        * [Rate](https://docs.datadoghq.com/dashboards/functions/rate/)
        * [Regression](https://docs.datadoghq.com/dashboards/functions/regression/)
        * [Rollup](https://docs.datadoghq.com/dashboards/functions/rollup/)
        * [Smoothing](https://docs.datadoghq.com/dashboards/functions/smoothing/)
        * [Timeshift](https://docs.datadoghq.com/dashboards/functions/timeshift/)
        * [Beta](https://docs.datadoghq.com/dashboards/functions/beta/)
      * [Graph Insights](https://docs.datadoghq.com/dashboards/graph_insights)
        * [Metric Correlations](https://docs.datadoghq.com/dashboards/graph_insights/correlations/)
        * [Watchdog Explains](https://docs.datadoghq.com/dashboards/graph_insights/watchdog_explains/)
      * [Template Variables](https://docs.datadoghq.com/dashboards/template_variables/)
      * [Overlays](https://docs.datadoghq.com/dashboards/change_overlays/)
      * [Annotations](https://docs.datadoghq.com/dashboards/annotations/)
      * [Guides](https://docs.datadoghq.com/dashboards/guide/)
      * [Sharing](https://docs.datadoghq.com/dashboards/sharing/)
        * [Shared Dashboards](https://docs.datadoghq.com/dashboards/sharing/shared_dashboards)
        * [Share Graphs](https://docs.datadoghq.com/dashboards/sharing/graphs)
        * [Scheduled Reports](https://docs.datadoghq.com/dashboards/sharing/scheduled_reports)
    * [Notebooks](https://docs.datadoghq.com/notebooks/)
      * [Analysis Features](https://docs.datadoghq.com/notebooks/advanced_analysis/)
        * [Getting Started](https://docs.datadoghq.com/notebooks/advanced_analysis/getting_started/)
      * [Guides](https://docs.datadoghq.com/notebooks/guide)
    * [DDSQL Editor](https://docs.datadoghq.com/ddsql_editor/)
    * [Reference Tables](https://docs.datadoghq.com/reference_tables/)
    * [Sheets](https://docs.datadoghq.com/sheets/)
      * [Functions and Operators](https://docs.datadoghq.com/sheets/functions_operators/)
      * [Guides](https://docs.datadoghq.com/sheets/guide/)
    * [Monitors and Alerting](https://docs.datadoghq.com/monitors/)
      * [Draft Monitors](https://docs.datadoghq.com/monitors/draft/)
      * [Configure Monitors](https://docs.datadoghq.com/monitors/configuration/)
      * [Monitor Templates](https://docs.datadoghq.com/monitors/templates/)
      * [Monitor Types](https://docs.datadoghq.com/monitors/types/)
        * [Host](https://docs.datadoghq.com/monitors/types/host/)
        * [Metric](https://docs.datadoghq.com/monitors/types/metric/)
        * [Analysis](https://docs.datadoghq.com/monitors/types/analysis/)
        * [Anomaly](https://docs.datadoghq.com/monitors/types/anomaly/)
        * [APM](https://docs.datadoghq.com/monitors/types/apm/)
        * [Audit Trail](https://docs.datadoghq.com/monitors/types/audit_trail/)
        * [Change](https://docs.datadoghq.com/monitors/types/change-alert/)
        * [CI/CD & Test](https://docs.datadoghq.com/monitors/types/ci/)
        * [Cloud Cost](https://docs.datadoghq.com/monitors/types/cloud_cost/)
        * [Composite](https://docs.datadoghq.com/monitors/types/composite/)
        * [Database Monitoring](https://docs.datadoghq.com/monitors/types/database_monitoring/)
        * [Error Tracking](https://docs.datadoghq.com/monitors/types/error_tracking/)
        * [Event](https://docs.datadoghq.com/monitors/types/event/)
        * [Forecast](https://docs.datadoghq.com/monitors/types/forecasts/)
        * [Integration](https://docs.datadoghq.com/monitors/types/integration/)
        * [Live Process](https://docs.datadoghq.com/monitors/types/process/)
        * [Logs](https://docs.datadoghq.com/monitors/types/log/)
        * [Network](https://docs.datadoghq.com/monitors/types/network/)
        * [Cloud Network Monitoring](https://docs.datadoghq.com/monitors/types/cloud_network_monitoring/)
        * [NetFlow](https://docs.datadoghq.com/monitors/types/netflow/)
        * [Outlier](https://docs.datadoghq.com/monitors/types/outlier/)
        * [Process Check](https://docs.datadoghq.com/monitors/types/process_check/)
        * [Real User Monitoring](https://docs.datadoghq.com/monitors/types/real_user_monitoring/)
        * [Service Check](https://docs.datadoghq.com/monitors/types/service_check/)
        * [SLO Alerts](https://docs.datadoghq.com/monitors/types/slo/)
        * [Synthetic Monitoring](https://docs.datadoghq.com/monitors/types/synthetic_monitoring/)
        * [Watchdog](https://docs.datadoghq.com/monitors/types/watchdog/)
      * [Notifications](https://docs.datadoghq.com/monitors/notify/)
        * [Notification Rules](https://docs.datadoghq.com/monitors/notify/notification_rules/)
        * [Variables](https://docs.datadoghq.com/monitors/notify/variables/)
      * [Downtimes](https://docs.datadoghq.com/monitors/downtimes/)
        * [Examples](https://docs.datadoghq.com/monitors/downtimes/examples)
      * [Manage Monitors](https://docs.datadoghq.com/monitors/manage/)
        * [Search Monitors](https://docs.datadoghq.com/monitors/manage/search/)
        * [Check Summary](https://docs.datadoghq.com/monitors/manage/check_summary/)
      * [Monitor Status](https://docs.datadoghq.com/monitors/status/status_page)
        * [Status Graphs](https://docs.datadoghq.com/monitors/status/graphs)
        * [Status Events](https://docs.datadoghq.com/monitors/status/events)
      * [Monitor Settings](https://docs.datadoghq.com/monitors/settings/)
      * [Monitor Quality](https://docs.datadoghq.com/monitors/quality/)
      * [Guides](https://docs.datadoghq.com/monitors/guide/)
    * [Service Level Objectives](https://docs.datadoghq.com/service_level_objectives/)
      * [Monitor-based SLOs](https://docs.datadoghq.com/service_level_objectives/monitor/)
      * [Metric-based SLOs](https://docs.datadoghq.com/service_level_objectives/metric/)
      * [Time Slice SLOs](https://docs.datadoghq.com/service_level_objectives/time_slice/)
      * [Error Budget Alerts](https://docs.datadoghq.com/service_level_objectives/error_budget/)
      * [Burn Rate Alerts](https://docs.datadoghq.com/service_level_objectives/burn_rate/)
      * [Guides](https://docs.datadoghq.com/service_level_objectives/guide/)
    * [Metrics](https://docs.datadoghq.com/metrics/)
      * [Custom Metrics](https://docs.datadoghq.com/metrics/custom_metrics/)
        * [Metric Type Modifiers](https://docs.datadoghq.com/metrics/custom_metrics/type_modifiers/)
        * [Historical Metrics Ingestion](https://docs.datadoghq.com/metrics/custom_metrics/historical_metrics/)
        * [Submission - Agent Check](https://docs.datadoghq.com/metrics/custom_metrics/agent_metrics_submission/)
        * [Submission - DogStatsD](https://docs.datadoghq.com/metrics/custom_metrics/dogstatsd_metrics_submission/)
        * [Submission - Powershell](https://docs.datadoghq.com/metrics/custom_metrics/powershell_metrics_submission)
        * [Submission - API](https://docs.datadoghq.com/api/latest/metrics/#submit-metrics)
      * [OpenTelemetry Metrics](https://docs.datadoghq.com/metrics/open_telemetry/)
        * [OTLP Metric Types](https://docs.datadoghq.com/metrics/open_telemetry/otlp_metric_types)
        * [Query OpenTelemetry Metrics](https://docs.datadoghq.com/metrics/open_telemetry/query_metrics/)
      * [Metrics Types](https://docs.datadoghq.com/metrics/types/)
      * [Distributions](https://docs.datadoghq.com/metrics/distributions/)
      * [Overview](https://docs.datadoghq.com/metrics/overview/)
      * [Explorer](https://docs.datadoghq.com/metrics/explorer/)
        * [Metrics Units](https://docs.datadoghq.com/metrics/units/)
      * [Summary](https://docs.datadoghq.com/metrics/summary/)
      * [Volume](https://docs.datadoghq.com/metrics/volume/)
      * [Advanced Filtering](https://docs.datadoghq.com/metrics/advanced-filtering/)
      * [Nested Queries](https://docs.datadoghq.com/metrics/nested_queries/)
      * [Composite Metrics Queries](https://docs.datadoghq.com/metrics/composite_metrics_queries)
      * [Derived Metrics](https://docs.datadoghq.com/metrics/derived-metrics)
      * [Metrics Without Limits™](https://docs.datadoghq.com/metrics/metrics-without-limits/)
      * [Guides](https://docs.datadoghq.com/metrics/guide)
    * [Watchdog](https://docs.datadoghq.com/watchdog/)
      * [Alerts](https://docs.datadoghq.com/watchdog/alerts)
      * [Impact Analysis](https://docs.datadoghq.com/watchdog/impact_analysis/)
      * [RCA](https://docs.datadoghq.com/watchdog/rca/)
      * [Insights](https://docs.datadoghq.com/watchdog/insights)
      * [Faulty Deployment Detection](https://docs.datadoghq.com/watchdog/faulty_deployment_detection/)
      * [Faulty Cloud & SaaS API Detection](https://docs.datadoghq.com/watchdog/faulty_cloud_saas_api_detection)
    * [Bits AI](https://docs.datadoghq.com/bits_ai/)
      * [Bits AI SRE](https://docs.datadoghq.com/bits_ai/bits_ai_sre)
        * [Investigate issues](https://docs.datadoghq.com/bits_ai/bits_ai_sre/investigate_issues)
        * [Remediate issues](https://docs.datadoghq.com/bits_ai/bits_ai_sre/remediate_issues)
        * [Bits AI SRE integrations and settings](https://docs.datadoghq.com/bits_ai/bits_ai_sre/configure)
        * [Help Bits learn](https://docs.datadoghq.com/bits_ai/bits_ai_sre/help_bits_learn)
        * [Chat with Bits AI SRE](https://docs.datadoghq.com/bits_ai/bits_ai_sre/chat_bits_ai_sre)
      * [Bits AI Dev Agent](https://docs.datadoghq.com/bits_ai/bits_ai_dev_agent)
        * [Setup](https://docs.datadoghq.com/bits_ai/bits_ai_dev_agent/setup)
      * [Chat with Bits AI](https://docs.datadoghq.com/bits_ai/chat_with_bits_ai)
      * [MCP Server](https://docs.datadoghq.com/bits_ai/mcp_server)
    * [Internal Developer Portal](https://docs.datadoghq.com/internal_developer_portal/)
      * [Software Catalog](https://docs.datadoghq.com/internal_developer_portal/software_catalog/)
        * [Set Up](https://docs.datadoghq.com/internal_developer_portal/software_catalog/set_up)
        * [Entity Model](https://docs.datadoghq.com/internal_developer_portal/software_catalog/entity_model)
        * [Troubleshooting](https://docs.datadoghq.com/internal_developer_portal/software_catalog/troubleshooting)
      * [Scorecards](https://docs.datadoghq.com/internal_developer_portal/scorecards)
        * [Scorecard Configuration](https://docs.datadoghq.com/internal_developer_portal/scorecards/scorecard_configuration)
        * [Custom Rules](https://docs.datadoghq.com/internal_developer_portal/scorecards/custom_rules)
        * [Using Scorecards](https://docs.datadoghq.com/internal_developer_portal/scorecards/using_scorecards)
      * [Self-Service Actions](https://docs.datadoghq.com/internal_developer_portal/self_service_actions)
        * [Software Templates](https://docs.datadoghq.com/internal_developer_portal/self_service_actions/software_templates)
      * [Engineering Reports](https://docs.datadoghq.com/internal_developer_portal/eng_reports)
        * [Reliability Overview](https://docs.datadoghq.com/internal_developer_portal/eng_reports/reliability_overview)
        * [Scorecards Performance](https://docs.datadoghq.com/internal_developer_portal/eng_reports/scorecards_performance)
        * [DORA Metrics](https://docs.datadoghq.com/internal_developer_portal/eng_reports/dora_metrics)
        * [Custom Reports](https://docs.datadoghq.com/internal_developer_portal/eng_reports/custom_reports)
      * [Developer Homepage](https://docs.datadoghq.com/internal_developer_portal/developer_homepage)
      * [Campaigns](https://docs.datadoghq.com/internal_developer_portal/campaigns)
      * [External Provider Status](https://docs.datadoghq.com/internal_developer_portal/external_provider_status)
      * [Plugins](https://docs.datadoghq.com/internal_developer_portal/plugins)
      * [Integrations](https://docs.datadoghq.com/internal_developer_portal/integrations)
      * [Use Cases](https://docs.datadoghq.com/internal_developer_portal/use_cases)
        * [API Management](https://docs.datadoghq.com/internal_developer_portal/use_cases/api_management)
        * [Cloud Cost Management](https://docs.datadoghq.com/internal_developer_portal/use_cases/cloud_cost_management)
        * [App and API Protection](https://docs.datadoghq.com/internal_developer_portal/use_cases/appsec_management)
        * [Developer Onboarding](https://docs.datadoghq.com/internal_developer_portal/use_cases/dev_onboarding)
        * [Dependency Management](https://docs.datadoghq.com/internal_developer_portal/use_cases/dependency_management)
        * [Production Readiness](https://docs.datadoghq.com/internal_developer_portal/use_cases/production_readiness)
        * [Incident Response](https://docs.datadoghq.com/internal_developer_portal/use_cases/incident_response)
        * [CI Pipeline Visibility](https://docs.datadoghq.com/internal_developer_portal/use_cases/pipeline_visibility)
      * [Onboarding Guide](https://docs.datadoghq.com/internal_developer_portal/onboarding_guide)
    * [Error Tracking](https://docs.datadoghq.com/error_tracking/)
      * [Explorer](https://docs.datadoghq.com/error_tracking/explorer)
      * [Issue States](https://docs.datadoghq.com/error_tracking/issue_states)
      * [Regression Detection](https://docs.datadoghq.com/error_tracking/regression_detection)
      * [Suspected Causes](https://docs.datadoghq.com/error_tracking/suspected_causes)
      * [Error Grouping](https://docs.datadoghq.com/error_tracking/error_grouping)
      * [Bits AI Dev Agent](https://docs.datadoghq.com/bits_ai/bits_ai_dev_agent)
      * [Monitors](https://docs.datadoghq.com/error_tracking/monitors)
      * [Issue Correlation](https://docs.datadoghq.com/error_tracking/issue_correlation)
      * [Identify Suspect Commits](https://docs.datadoghq.com/error_tracking/suspect_commits)
      * [Auto Assign](https://docs.datadoghq.com/error_tracking/auto_assign)
      * [Issue Team Ownership](https://docs.datadoghq.com/error_tracking/issue_team_ownership)
      * [Track Browser and Mobile Errors](https://docs.datadoghq.com/error_tracking/frontend)
        * [Browser Error Tracking](https://docs.datadoghq.com/error_tracking/frontend/browser)
        * [Collecting Browser Errors](https://docs.datadoghq.com/error_tracking/frontend/collecting_browser_errors)
        * [Mobile Crash Tracking](https://docs.datadoghq.com/error_tracking/frontend/mobile)
        * [Replay Errors](https://docs.datadoghq.com/error_tracking/frontend/replay_errors)
        * [Real User Monitoring](https://docs.datadoghq.com/error_tracking/rum)
        * [Logs](https://docs.datadoghq.com/error_tracking/frontend/logs)
      * [Track Backend Errors](https://docs.datadoghq.com/error_tracking/backend)
        * [Getting Started](https://docs.datadoghq.com/error_tracking/backend/getting_started)
        * [Exception Replay](https://docs.datadoghq.com/error_tracking/backend/exception_replay)
        * [Capturing Handled Errors](https://docs.datadoghq.com/error_tracking/backend/capturing_handled_errors)
        * [APM](https://docs.datadoghq.com/error_tracking/apm)
        * [Logs](https://docs.datadoghq.com/error_tracking/backend/logs)
      * [Manage Data Collection](https://docs.datadoghq.com/error_tracking/manage_data_collection)
      * [Troubleshooting](https://docs.datadoghq.com/error_tracking/troubleshooting)
      * [Guides](https://docs.datadoghq.com/error_tracking/guides)
    * [Change Tracking](https://docs.datadoghq.com/change_tracking/)
      * [Feature Flags](https://docs.datadoghq.com/change_tracking/feature_flags/)
    * [Event Management](https://docs.datadoghq.com/events/)
      * [Ingest Events](https://docs.datadoghq.com/events/ingest/)
      * [Pipelines and Processors](https://docs.datadoghq.com/events/pipelines_and_processors/)
        * [Aggregation Key Processor](https://docs.datadoghq.com/events/pipelines_and_processors/aggregation_key)
        * [Arithmetic Processor](https://docs.datadoghq.com/events/pipelines_and_processors/arithmetic_processor)
        * [Date Remapper](https://docs.datadoghq.com/events/pipelines_and_processors/date_remapper)
        * [Category Processor](https://docs.datadoghq.com/events/pipelines_and_processors/category_processor)
        * [Grok Parser](https://docs.datadoghq.com/events/pipelines_and_processors/grok_parser)
        * [Lookup Processor](https://docs.datadoghq.com/events/pipelines_and_processors/lookup_processor)
        * [Remapper](https://docs.datadoghq.com/events/pipelines_and_processors/remapper)
        * [Service Remapper](https://docs.datadoghq.com/events/pipelines_and_processors/service_remapper)
        * [Status Remapper](https://docs.datadoghq.com/events/pipelines_and_processors/status_remapper)
        * [String Builder Processor](https://docs.datadoghq.com/events/pipelines_and_processors/string_builder_processor)
      * [Explorer](https://docs.datadoghq.com/events/explorer/)
        * [Searching](https://docs.datadoghq.com/events/explorer/searching)
        * [Navigate the Explorer](https://docs.datadoghq.com/events/explorer/navigate)
        * [Customization](https://docs.datadoghq.com/events/explorer/customization)
        * [Facets](https://docs.datadoghq.com/events/explorer/facets)
        * [Attributes](https://docs.datadoghq.com/events/explorer/attributes)
        * [Notifications](https://docs.datadoghq.com/events/explorer/notifications)
        * [Analytics](https://docs.datadoghq.com/events/explorer/analytics)
        * [Saved Views](https://docs.datadoghq.com/events/explorer/saved_views)
      * [Triage Inbox](https://docs.datadoghq.com/events/triage_inbox)
      * [Correlation](https://docs.datadoghq.com/events/correlation/)
        * [Configuration](https://docs.datadoghq.com/events/correlation/configuration)
        * [Triaging & Notifying](https://docs.datadoghq.com/events/correlation/triage_and_notify)
        * [Analytics](https://docs.datadoghq.com/events/correlation/analytics)
      * [Guides](https://docs.datadoghq.com/events/guides/)
  * [Incident Response ](https://docs.datadoghq.com/api/latest/aws-integration/)
    * [Incident Management](https://docs.datadoghq.com/incident_response/incident_management/)
      * [Declare an Incident](https://docs.datadoghq.com/incident_response/incident_management/declare)
      * [Describe an Incident](https://docs.datadoghq.com/incident_response/incident_management/describe)
      * [Response Team](https://docs.datadoghq.com/incident_response/incident_management/response_team)
      * [Notification](https://docs.datadoghq.com/incident_response/incident_management/notification)
      * [Investigate an Incident](https://docs.datadoghq.com/incident_response/incident_management/investigate)
        * [Timeline](https://docs.datadoghq.com/incident_response/incident_management/investigate/timeline)
        * [Follow-ups](https://docs.datadoghq.com/incident_response/incident_management/follow-ups)
      * [Incident AI](https://docs.datadoghq.com/incident_response/incident_management/incident_ai)
      * [Incident Settings](https://docs.datadoghq.com/incident_response/incident_management/incident_settings)
        * [Information](https://docs.datadoghq.com/incident_response/incident_management/incident_settings/information)
        * [Property Fields](https://docs.datadoghq.com/incident_response/incident_management/incident_settings/property_fields)
        * [Responder Types](https://docs.datadoghq.com/incident_response/incident_management/incident_settings/responder_types)
        * [Integrations](https://docs.datadoghq.com/incident_response/incident_management/incident_settings/integrations)
        * [Notification Rules](https://docs.datadoghq.com/incident_response/incident_management/incident_settings/notification_rules)
        * [Templates](https://docs.datadoghq.com/incident_response/incident_management/incident_settings/templates)
      * [Incident Analytics](https://docs.datadoghq.com/incident_response/incident_management/analytics)
      * [Integrations](https://docs.datadoghq.com/incident_response/incident_management/integrations)
        * [Slack](https://docs.datadoghq.com/incident_response/incident_management/integrations/slack)
        * [Microsoft Teams](https://docs.datadoghq.com/incident_response/incident_management/integrations/microsoft_teams)
        * [Jira](https://docs.datadoghq.com/incident_response/incident_management/integrations/jira)
        * [ServiceNow](https://docs.datadoghq.com/incident_response/incident_management/integrations/servicenow)
        * [Status Pages](https://docs.datadoghq.com/incident_response/incident_management/integrations/status_pages)
        * [Atlassian Statuspage](https://docs.datadoghq.com/incident_response/incident_management/integrations/statuspage)
      * [Datadog Clipboard](https://docs.datadoghq.com/incident_response/incident_management/datadog_clipboard)
    * [On-Call](https://docs.datadoghq.com/incident_response/on-call/)
      * [Onboard a Team](https://docs.datadoghq.com/incident_response/on-call/teams/)
      * [Trigger a Page](https://docs.datadoghq.com/incident_response/on-call/triggering_pages/)
        * [Live Call Routing](https://docs.datadoghq.com/incident_response/on-call/triggering_pages/live_call_routing)
      * [Routing Rules](https://docs.datadoghq.com/incident_response/on-call/routing_rules/)
      * [Escalation Policies](https://docs.datadoghq.com/incident_response/on-call/escalation_policies/)
      * [Schedules](https://docs.datadoghq.com/incident_response/on-call/schedules/)
      * [Automations](https://docs.datadoghq.com/incident_response/on-call/automations)
      * [Profile Settings](https://docs.datadoghq.com/incident_response/on-call/profile_settings/)
      * [Guides](https://docs.datadoghq.com/incident_response/on-call/guides/)
    * [Status Pages](https://docs.datadoghq.com/incident_response/status_pages/)
    * [Case Management](https://docs.datadoghq.com/incident_response/case_management/)
      * [Projects](https://docs.datadoghq.com/incident_response/case_management/projects)
        * [Settings](https://docs.datadoghq.com/incident_response/case_management/settings)
      * [Create a Case](https://docs.datadoghq.com/incident_response/case_management/create_case)
      * [Customization](https://docs.datadoghq.com/incident_response/case_management/customization)
      * [View and Manage Cases](https://docs.datadoghq.com/incident_response/case_management/view_and_manage)
      * [Notifications and Integrations](https://docs.datadoghq.com/incident_response/case_management/notifications_integrations)
      * [Case Automation Rules](https://docs.datadoghq.com/incident_response/case_management/automation_rules)
      * [Troubleshooting](https://docs.datadoghq.com/incident_response/case_management/troubleshooting)
  * [Actions & Remediations ](https://docs.datadoghq.com/api/latest/aws-integration/)
    * [Agents](https://docs.datadoghq.com/actions/agents/)
    * [Workflow Automation](https://docs.datadoghq.com/actions/workflows/)
      * [Build Workflows](https://docs.datadoghq.com/actions/workflows/build/)
      * [Access and Authentication](https://docs.datadoghq.com/actions/workflows/access_and_auth/)
      * [Trigger Workflows](https://docs.datadoghq.com/actions/workflows/trigger/)
      * [Variables and parameters](https://docs.datadoghq.com/actions/workflows/variables/)
      * [Actions](https://docs.datadoghq.com/actions/workflows/actions/)
        * [Workflow Logic](https://docs.datadoghq.com/actions/workflows/actions/flow_control/)
      * [Save and Reuse Actions](https://docs.datadoghq.com/actions/workflows/saved_actions/)
      * [Test and Debug](https://docs.datadoghq.com/actions/workflows/test_and_debug/)
      * [JavaScript Expressions](https://docs.datadoghq.com/actions/workflows/expressions/)
      * [Track Workflows](https://docs.datadoghq.com/actions/workflows/track)
      * [Limits](https://docs.datadoghq.com/actions/workflows/limits/)
    * [App Builder](https://docs.datadoghq.com/actions/app_builder/)
      * [Build Apps](https://docs.datadoghq.com/actions/app_builder/build/)
      * [Access and Authentication](https://docs.datadoghq.com/actions/app_builder/access_and_auth/)
      * [Queries](https://docs.datadoghq.com/actions/app_builder/queries/)
      * [Variables](https://docs.datadoghq.com/actions/app_builder/variables/)
      * [Events](https://docs.datadoghq.com/actions/app_builder/events/)
      * [Components](https://docs.datadoghq.com/actions/app_builder/components/)
        * [Custom Charts](https://docs.datadoghq.com/actions/app_builder/components/custom_charts/)
        * [React Renderer](https://docs.datadoghq.com/actions/app_builder/components/react_renderer/)
        * [Tables](https://docs.datadoghq.com/actions/app_builder/components/tables/)
        * [Reusable Modules](https://docs.datadoghq.com/actions/app_builder/components/reusable_modules/)
      * [JavaScript Expressions](https://docs.datadoghq.com/actions/app_builder/expressions/)
      * [Embedded Apps](https://docs.datadoghq.com/actions/app_builder/embedded_apps/)
        * [Input Parameters](https://docs.datadoghq.com/actions/app_builder/embedded_apps/input_parameters/)
      * [Save and Reuse Actions](https://docs.datadoghq.com/actions/app_builder/saved_actions/)
    * [Datastores](https://docs.datadoghq.com/actions/datastores/)
      * [Create and Manage Datastores](https://docs.datadoghq.com/actions/datastores/create/)
      * [Use Datastores with Apps and Workflows](https://docs.datadoghq.com/actions/datastores/use)
      * [Automation Rules](https://docs.datadoghq.com/actions/datastores/trigger)
      * [Access and Authentication](https://docs.datadoghq.com/actions/datastores/auth)
    * [Forms](https://docs.datadoghq.com/actions/forms/)
    * [Action Catalog](https://docs.datadoghq.com/actions/actions_catalog/)
      * [Connections](https://docs.datadoghq.com/actions/connections/)
        * [AWS Integration](https://docs.datadoghq.com/actions/connections/aws_integration/)
        * [HTTP Request](https://docs.datadoghq.com/actions/connections/http/)
      * [Private Actions](https://docs.datadoghq.com/actions/private_actions/)
        * [Use Private Actions](https://docs.datadoghq.com/actions/private_actions/use_private_actions/)
        * [Run a Script](https://docs.datadoghq.com/actions/private_actions/run_script/)
        * [Update the Private Action Runner](https://docs.datadoghq.com/actions/private_actions/update_private_action_runner/)
        * [Private Action Credentials](https://docs.datadoghq.com/actions/private_actions/private_action_credentials/)
  * [Infrastructure ](https://docs.datadoghq.com/api/latest/aws-integration/)
    * [Cloudcraft](https://docs.datadoghq.com/datadog_cloudcraft/)
      * [Overlays](https://docs.datadoghq.com/datadog_cloudcraft/overlays/)
        * [Infrastructure](https://docs.datadoghq.com/datadog_cloudcraft/overlays/infrastructure/)
        * [Observability](https://docs.datadoghq.com/datadog_cloudcraft/overlays/observability/)
        * [Security](https://docs.datadoghq.com/datadog_cloudcraft/overlays/security/)
        * [Cloud Cost Management](https://docs.datadoghq.com/datadog_cloudcraft/overlays/ccm/)
    * [Resource Catalog](https://docs.datadoghq.com/infrastructure/resource_catalog/)
      * [Cloud Resources Schema](https://docs.datadoghq.com/infrastructure/resource_catalog/schema/)
      * [Policies](https://docs.datadoghq.com/infrastructure/resource_catalog/policies/)
      * [Resource Changes](https://docs.datadoghq.com/infrastructure/resource_catalog/resource_changes/)
    * [Universal Service Monitoring](https://docs.datadoghq.com/universal_service_monitoring/)
      * [Setup](https://docs.datadoghq.com/universal_service_monitoring/setup/)
      * [Guides](https://docs.datadoghq.com/universal_service_monitoring/guide/)
    * [End User Device Monitoring](https://docs.datadoghq.com/infrastructure/end_user_device_monitoring/)
      * [Setup](https://docs.datadoghq.com/infrastructure/end_user_device_monitoring/setup/)
    * [Hosts](https://docs.datadoghq.com/infrastructure/hostmap/)
      * [Host List](https://docs.datadoghq.com/infrastructure/list/)
    * [Containers](https://docs.datadoghq.com/containers/)
      * [Monitoring Containers](https://docs.datadoghq.com/infrastructure/containers/)
        * [Configuration](https://docs.datadoghq.com/infrastructure/containers/configuration)
        * [Container Images View](https://docs.datadoghq.com/infrastructure/containers/container_images)
        * [Orchestrator Explorer](https://docs.datadoghq.com/infrastructure/containers/orchestrator_explorer)
        * [Kubernetes Resource Utilization](https://docs.datadoghq.com/infrastructure/containers/kubernetes_resource_utilization)
        * [Kubernetes Autoscaling](https://docs.datadoghq.com/containers/monitoring/autoscaling)
        * [Amazon Elastic Container Explorer](https://docs.datadoghq.com/infrastructure/containers/amazon_elastic_container_explorer)
      * [Autoscaling](https://docs.datadoghq.com/containers/autoscaling)
      * [Docker and other runtimes](https://docs.datadoghq.com/containers/docker/)
        * [APM](https://docs.datadoghq.com/containers/docker/apm/)
        * [Log collection](https://docs.datadoghq.com/containers/docker/log/)
        * [Tag extraction](https://docs.datadoghq.com/containers/docker/tag/)
        * [Integrations](https://docs.datadoghq.com/containers/docker/integrations/)
        * [Prometheus](https://docs.datadoghq.com/containers/docker/prometheus/)
        * [Data Collected](https://docs.datadoghq.com/containers/docker/data_collected/)
      * [Kubernetes](https://docs.datadoghq.com/containers/kubernetes/)
        * [Installation](https://docs.datadoghq.com/containers/kubernetes/installation)
        * [Further Configuration](https://docs.datadoghq.com/containers/kubernetes/configuration)
        * [Distributions](https://docs.datadoghq.com/containers/kubernetes/distributions)
        * [APM](https://docs.datadoghq.com/containers/kubernetes/apm/)
        * [Log collection](https://docs.datadoghq.com/containers/kubernetes/log/)
        * [Tag extraction](https://docs.datadoghq.com/containers/kubernetes/tag/)
        * [Integrations](https://docs.datadoghq.com/containers/kubernetes/integrations/)
        * [Prometheus & OpenMetrics](https://docs.datadoghq.com/containers/kubernetes/prometheus/)
        * [Control plane monitoring](https://docs.datadoghq.com/containers/kubernetes/control_plane/)
        * [Data collected](https://docs.datadoghq.com/containers/kubernetes/data_collected/)
        * [kubectl Plugin](https://docs.datadoghq.com/containers/kubernetes/kubectl_plugin)
        * [Datadog CSI Driver](https://docs.datadoghq.com/containers/kubernetes/csi_driver)
        * [Data security](https://docs.datadoghq.com/data_security/kubernetes)
      * [Cluster Agent](https://docs.datadoghq.com/containers/cluster_agent/)
        * [Setup](https://docs.datadoghq.com/containers/cluster_agent/setup/)
        * [Commands & Options](https://docs.datadoghq.com/containers/cluster_agent/commands/)
        * [Cluster Checks](https://docs.datadoghq.com/containers/cluster_agent/clusterchecks/)
        * [Endpoint Checks](https://docs.datadoghq.com/containers/cluster_agent/endpointschecks/)
        * [Admission Controller](https://docs.datadoghq.com/containers/cluster_agent/admission_controller/)
      * [Amazon ECS](https://docs.datadoghq.com/containers/amazon_ecs/)
        * [APM](https://docs.datadoghq.com/containers/amazon_ecs/apm/)
        * [Log collection](https://docs.datadoghq.com/containers/amazon_ecs/logs/)
        * [Tag extraction](https://docs.datadoghq.com/containers/amazon_ecs/tags/)
        * [Data collected](https://docs.datadoghq.com/containers/amazon_ecs/data_collected/)
        * [Managed Instances](https://docs.datadoghq.com/containers/amazon_ecs/managed_instances/)
        * [AWS Fargate with ECS](https://docs.datadoghq.com/integrations/ecs_fargate/)
      * [Datadog Operator](https://docs.datadoghq.com/containers/datadog_operator)
        * [Advanced Install](https://docs.datadoghq.com/containers/datadog_operator/advanced_install)
        * [Configuration](https://docs.datadoghq.com/containers/datadog_operator/config)
        * [Custom Checks](https://docs.datadoghq.com/containers/datadog_operator/custom_check)
        * [Data Collected](https://docs.datadoghq.com/containers/datadog_operator/data_collected)
        * [Secret Management](https://docs.datadoghq.com/containers/datadog_operator/secret_management)
        * [DatadogDashboard CRD](https://docs.datadoghq.com/containers/datadog_operator/crd_dashboard)
        * [DatadogMonitor CRD](https://docs.datadoghq.com/containers/datadog_operator/crd_monitor)
        * [DatadogSLO CRD](https://docs.datadoghq.com/containers/datadog_operator/crd_slo)
      * [Troubleshooting](https://docs.datadoghq.com/containers/troubleshooting/)
        * [Duplicate hosts](https://docs.datadoghq.com/containers/troubleshooting/duplicate_hosts)
        * [Cluster Agent](https://docs.datadoghq.com/containers/troubleshooting/cluster-agent)
        * [Cluster Checks](https://docs.datadoghq.com/containers/troubleshooting/cluster-and-endpoint-checks)
        * [HPA and Metrics Provider](https://docs.datadoghq.com/containers/troubleshooting/hpa)
        * [Admission Controller](https://docs.datadoghq.com/containers/troubleshooting/admission-controller)
        * [Log Collection](https://docs.datadoghq.com/containers/troubleshooting/log-collection)
      * [Guides](https://docs.datadoghq.com/containers/guide)
    * [Processes](https://docs.datadoghq.com/infrastructure/process)
      * [Increase Process Retention](https://docs.datadoghq.com/infrastructure/process/increase_process_retention/)
    * [Serverless](https://docs.datadoghq.com/serverless)
      * [AWS Lambda](https://docs.datadoghq.com/serverless/aws_lambda)
        * [Instrumentation](https://docs.datadoghq.com/serverless/aws_lambda/instrumentation)
        * [Managed Instances](https://docs.datadoghq.com/serverless/aws_lambda/managed_instances)
        * [Lambda Metrics](https://docs.datadoghq.com/serverless/aws_lambda/metrics)
        * [Distributed Tracing](https://docs.datadoghq.com/serverless/aws_lambda/distributed_tracing)
        * [Log Collection](https://docs.datadoghq.com/serverless/aws_lambda/logs)
        * [Remote Instrumentation](https://docs.datadoghq.com/serverless/aws_lambda/remote_instrumentation)
        * [Advanced Configuration](https://docs.datadoghq.com/serverless/aws_lambda/configuration)
        * [Continuous Profiler](https://docs.datadoghq.com/serverless/aws_lambda/profiling)
        * [Securing Functions](https://docs.datadoghq.com/serverless/aws_lambda/securing_functions)
        * [Deployment Tracking](https://docs.datadoghq.com/serverless/aws_lambda/deployment_tracking)
        * [OpenTelemetry](https://docs.datadoghq.com/serverless/aws_lambda/opentelemetry)
        * [Troubleshooting](https://docs.datadoghq.com/serverless/aws_lambda/troubleshooting)
        * [Lambda Web Adapter](https://docs.datadoghq.com/serverless/aws_lambda/lwa)
        * [FIPS Compliance](https://docs.datadoghq.com/serverless/aws_lambda/fips-compliance)
      * [AWS Step Functions](https://docs.datadoghq.com/serverless/step_functions)
        * [Installation](https://docs.datadoghq.com/serverless/step_functions/installation)
        * [Merge Step Functions and Lambda Traces](https://docs.datadoghq.com/serverless/step_functions/merge-step-functions-lambda)
        * [Enhanced Metrics](https://docs.datadoghq.com/serverless/step_functions/enhanced-metrics)
        * [Redrive Executions](https://docs.datadoghq.com/serverless/step_functions/redrive)
        * [Distributed Map States](https://docs.datadoghq.com/serverless/step_functions/distributed-maps)
        * [Troubleshooting](https://docs.datadoghq.com/serverless/step_functions/troubleshooting)
      * [AWS Fargate](https://docs.datadoghq.com/integrations/ecs_fargate)
      * [Azure App Service](https://docs.datadoghq.com/serverless/azure_app_service)
        * [Linux - Code](https://docs.datadoghq.com/serverless/azure_app_service/linux_code)
        * [Linux - Container](https://docs.datadoghq.com/serverless/azure_app_service/linux_container)
        * [Windows - Code](https://docs.datadoghq.com/serverless/azure_app_service/windows_code)
      * [Azure Container Apps](https://docs.datadoghq.com/serverless/azure_container_apps)
        * [In-Container](https://docs.datadoghq.com/serverless/azure_container_apps/in_container)
        * [Sidecar](https://docs.datadoghq.com/serverless/azure_container_apps/sidecar)
      * [Azure Functions](https://docs.datadoghq.com/serverless/azure_functions)
      * [Google Cloud Run](https://docs.datadoghq.com/serverless/google_cloud_run)
        * [Containers](https://docs.datadoghq.com/serverless/google_cloud_run/containers)
        * [Functions](https://docs.datadoghq.com/serverless/google_cloud_run/functions)
        * [Functions (1st generation)](https://docs.datadoghq.com/serverless/google_cloud_run/functions_1st_gen)
      * [Libraries & Integrations](https://docs.datadoghq.com/serverless/libraries_integrations)
      * [Glossary](https://docs.datadoghq.com/serverless/glossary)
      * [Guides](https://docs.datadoghq.com/serverless/guide/)
    * [Network Monitoring](https://docs.datadoghq.com/network_monitoring/)
      * [Cloud Network Monitoring](https://docs.datadoghq.com/network_monitoring/cloud_network_monitoring/)
        * [Setup](https://docs.datadoghq.com/network_monitoring/cloud_network_monitoring/setup/)
        * [Network Health](https://docs.datadoghq.com/network_monitoring/cloud_network_monitoring/network_health/)
        * [Network Analytics](https://docs.datadoghq.com/network_monitoring/cloud_network_monitoring/network_analytics/)
        * [Network Map](https://docs.datadoghq.com/network_monitoring/cloud_network_monitoring/network_map/)
        * [Guides](https://docs.datadoghq.com/network_monitoring/cloud_network_monitoring/guide/)
        * [Supported Cloud Services](https://docs.datadoghq.com/network_monitoring/cloud_network_monitoring/supported_cloud_services/)
        * [Terms and Concepts](https://docs.datadoghq.com/network_monitoring/cloud_network_monitoring/glossary)
      * [DNS Monitoring](https://docs.datadoghq.com/network_monitoring/dns/)
      * [Network Device Monitoring](https://docs.datadoghq.com/network_monitoring/devices)
        * [Setup](https://docs.datadoghq.com/network_monitoring/devices/setup)
        * [Integrations](https://docs.datadoghq.com/network_monitoring/devices/integrations)
        * [Profiles](https://docs.datadoghq.com/network_monitoring/devices/profiles)
        * [Configuration Management](https://docs.datadoghq.com/network_monitoring/devices/config_management)
        * [Maps](https://docs.datadoghq.com/network_monitoring/devices/topology)
        * [SNMP Metrics Reference](https://docs.datadoghq.com/network_monitoring/devices/data)
        * [Troubleshooting](https://docs.datadoghq.com/network_monitoring/devices/troubleshooting)
        * [Guides](https://docs.datadoghq.com/network_monitoring/devices/guide/)
        * [Terms and Concepts](https://docs.datadoghq.com/network_monitoring/devices/glossary)
      * [NetFlow Monitoring](https://docs.datadoghq.com/network_monitoring/netflow/)
        * [Monitors](https://docs.datadoghq.com/monitors/types/netflow)
      * [Network Path](https://docs.datadoghq.com/network_monitoring/network_path/)
        * [Setup](https://docs.datadoghq.com/network_monitoring/network_path/setup/)
        * [List View](https://docs.datadoghq.com/network_monitoring/network_path/list_view/)
        * [Path View](https://docs.datadoghq.com/network_monitoring/network_path/path_view/)
        * [Guides](https://docs.datadoghq.com/network_monitoring/network_path/guide)
        * [Terms and Concepts](https://docs.datadoghq.com/network_monitoring/network_path/glossary)
    * [Storage Management](https://docs.datadoghq.com/infrastructure/storage_management/)
      * [Amazon S3](https://docs.datadoghq.com/infrastructure/storage_management/amazon_s3/)
      * [Google Cloud Storage](https://docs.datadoghq.com/infrastructure/storage_management/google_cloud_storage/)
      * [Azure Blob Storage](https://docs.datadoghq.com/infrastructure/storage_management/azure_blob_storage/)
  * [Cloud Cost ](https://docs.datadoghq.com/api/latest/aws-integration/)
    * [Cloud Cost](https://docs.datadoghq.com/cloud_cost_management/)
      * [Datadog Costs](https://docs.datadoghq.com/cloud_cost_management/datadog_costs)
      * [Setup](https://docs.datadoghq.com/cloud_cost_management/setup/)
        * [AWS](https://docs.datadoghq.com/cloud_cost_management/setup/aws/)
        * [Azure](https://docs.datadoghq.com/cloud_cost_management/setup/azure/)
        * [Google Cloud](https://docs.datadoghq.com/cloud_cost_management/setup/google_cloud/)
        * [Oracle](https://docs.datadoghq.com/cloud_cost_management/setup/oracle/)
        * [SaaS Integrations](https://docs.datadoghq.com/cloud_cost_management/setup/saas_costs/)
        * [Custom](https://docs.datadoghq.com/cloud_cost_management/setup/custom)
      * [Tags](https://docs.datadoghq.com/cloud_cost_management/tags)
        * [Tag Explorer](https://docs.datadoghq.com/cloud_cost_management/tags/tag_explorer)
        * [Multisource Querying](https://docs.datadoghq.com/cloud_cost_management/tags/multisource_querying)
      * [Allocation](https://docs.datadoghq.com/cloud_cost_management/allocation)
        * [Tag Pipelines](https://docs.datadoghq.com/cloud_cost_management/tags/tag_pipelines)
        * [Container Cost Allocation](https://docs.datadoghq.com/cloud_cost_management/allocation/container_cost_allocation)
        * [BigQuery Costs](https://docs.datadoghq.com/cloud_cost_management/allocation/bigquery)
        * [Custom Allocation Rules](https://docs.datadoghq.com/cloud_cost_management/allocation/custom_allocation_rules)
      * [Reporting](https://docs.datadoghq.com/cloud_cost_management/reporting)
        * [Explorer](https://docs.datadoghq.com/cloud_cost_management/reporting/explorer)
        * [Scheduled Reports](https://docs.datadoghq.com/cloud_cost_management/reporting/scheduled_reports)
      * [Recommendations](https://docs.datadoghq.com/cloud_cost_management/recommendations)
        * [Custom Recommendations](https://docs.datadoghq.com/cloud_cost_management/recommendations/custom_recommendations)
      * [Planning](https://docs.datadoghq.com/cloud_cost_management/planning)
        * [Budgets](https://docs.datadoghq.com/cloud_cost_management/planning/budgets)
        * [Commitment Programs](https://docs.datadoghq.com/cloud_cost_management/planning/commitment_programs)
      * [Cost Changes](https://docs.datadoghq.com/cloud_cost_management/cost_changes)
        * [Monitors](https://docs.datadoghq.com/cloud_cost_management/cost_changes/monitors)
        * [Anomalies](https://docs.datadoghq.com/cloud_cost_management/cost_changes/anomalies)
        * [Real-Time Costs](https://docs.datadoghq.com/cloud_cost_management/cost_changes/real_time_costs)
  * [Application Performance ](https://docs.datadoghq.com/api/latest/aws-integration/)
    * [APM](https://docs.datadoghq.com/tracing/)
      * [APM Terms and Concepts](https://docs.datadoghq.com/tracing/glossary/)
      * [Application Instrumentation](https://docs.datadoghq.com/tracing/trace_collection/)
        * [Single Step Instrumentation](https://docs.datadoghq.com/tracing/trace_collection/single-step-apm/)
        * [Manually managed SDKs](https://docs.datadoghq.com/tracing/trace_collection/dd_libraries/)
        * [Code-based Custom Instrumentation](https://docs.datadoghq.com/tracing/trace_collection/custom_instrumentation/)
        * [Dynamic Instrumentation](https://docs.datadoghq.com/tracing/trace_collection/dynamic_instrumentation/)
        * [Library Compatibility](https://docs.datadoghq.com/tracing/trace_collection/compatibility/)
        * [Library Configuration](https://docs.datadoghq.com/tracing/trace_collection/library_config/)
        * [Configuration at Runtime](https://docs.datadoghq.com/tracing/trace_collection/runtime_config/)
        * [Trace Context Propagation](https://docs.datadoghq.com/tracing/trace_collection/trace_context_propagation/)
        * [Serverless Application Tracing](https://docs.datadoghq.com/serverless/distributed_tracing/)
        * [Proxy Tracing](https://docs.datadoghq.com/tracing/trace_collection/proxy_setup/)
        * [Span Tag Semantics](https://docs.datadoghq.com/tracing/trace_collection/tracing_naming_convention)
        * [Span Links](https://docs.datadoghq.com/tracing/trace_collection/span_links)
      * [APM Metrics Collection](https://docs.datadoghq.com/tracing/metrics/)
        * [Trace Metrics](https://docs.datadoghq.com/tracing/metrics/metrics_namespace/)
        * [Runtime Metrics](https://docs.datadoghq.com/tracing/metrics/runtime_metrics/)
      * [Trace Pipeline Configuration](https://docs.datadoghq.com/tracing/trace_pipeline/)
        * [Ingestion Mechanisms](https://docs.datadoghq.com/tracing/trace_pipeline/ingestion_mechanisms/)
        * [Ingestion Controls](https://docs.datadoghq.com/tracing/trace_pipeline/ingestion_controls/)
        * [Adaptive Sampling](https://docs.datadoghq.com/tracing/trace_pipeline/adaptive_sampling/)
        * [Generate Metrics](https://docs.datadoghq.com/tracing/trace_pipeline/generate_metrics/)
        * [Trace Retention](https://docs.datadoghq.com/tracing/trace_pipeline/trace_retention/)
        * [Usage Metrics](https://docs.datadoghq.com/tracing/trace_pipeline/metrics/)
      * [Correlate Traces with Other Telemetry](https://docs.datadoghq.com/tracing/other_telemetry/)
        * [Correlate DBM and Traces](https://docs.datadoghq.com/database_monitoring/connect_dbm_and_apm/)
        * [Correlate Logs and Traces](https://docs.datadoghq.com/tracing/other_telemetry/connect_logs_and_traces/)
        * [Correlate RUM and Traces](https://docs.datadoghq.com/tracing/other_telemetry/rum)
        * [Correlate Synthetics and Traces](https://docs.datadoghq.com/tracing/other_telemetry/synthetics/)
        * [Correlate Profiles and Traces](https://docs.datadoghq.com/profiler/connect_traces_and_profiles/)
      * [Trace Explorer](https://docs.datadoghq.com/tracing/trace_explorer/)
        * [Search Spans](https://docs.datadoghq.com/tracing/trace_explorer/search/)
        * [Query Syntax](https://docs.datadoghq.com/tracing/trace_explorer/query_syntax/)
        * [Trace Queries](https://docs.datadoghq.com/tracing/trace_explorer/trace_queries/)
        * [Span Tags and Attributes](https://docs.datadoghq.com/tracing/trace_explorer/span_tags_attributes/)
        * [Span Visualizations](https://docs.datadoghq.com/tracing/trace_explorer/visualize/)
        * [Trace View](https://docs.datadoghq.com/tracing/trace_explorer/trace_view/)
        * [Tag Analysis](https://docs.datadoghq.com/tracing/trace_explorer/tag_analysis/)
      * [Recommendations](https://docs.datadoghq.com/tracing/recommendations/)
      * [Code Origin for Spans](https://docs.datadoghq.com/tracing/code_origin)
      * [Service Observability](https://docs.datadoghq.com/tracing/services/)
        * [Software Catalog](https://docs.datadoghq.com/internal_developer_portal/software_catalog/)
        * [Service Page](https://docs.datadoghq.com/tracing/services/service_page/)
        * [Resource Page](https://docs.datadoghq.com/tracing/services/resource_page/)
        * [Deployment Tracking](https://docs.datadoghq.com/tracing/services/deployment_tracking/)
        * [Service Map](https://docs.datadoghq.com/tracing/services/services_map/)
        * [Inferred Services](https://docs.datadoghq.com/tracing/services/inferred_services)
        * [Remapping Rules for Inferred Entities](https://docs.datadoghq.com/tracing/services/inferred_entity_remapping_rules/)
        * [Service Remapping Rules](https://docs.datadoghq.com/tracing/services/service_remapping_rules)
        * [Service Override Removal](https://docs.datadoghq.com/tracing/services/service_override_removal)
        * [APM Monitors](https://docs.datadoghq.com/monitors/create/types/apm/)
      * [Endpoint Observability](https://docs.datadoghq.com/internal_developer_portal/software_catalog/endpoints/)
        * [Explore Endpoints](https://docs.datadoghq.com/internal_developer_portal/software_catalog/endpoints/explore_endpoints)
        * [Monitor Endpoints](https://docs.datadoghq.com/internal_developer_portal/software_catalog/endpoints/monitor_endpoints)
      * [Live Debugger](https://docs.datadoghq.com/tracing/live_debugger/)
      * [Error Tracking](https://docs.datadoghq.com/tracing/error_tracking/)
        * [Issue States](https://docs.datadoghq.com/tracing/error_tracking/issue_states)
        * [Error Tracking Explorer](https://docs.datadoghq.com/tracing/error_tracking/explorer)
        * [Error Grouping](https://docs.datadoghq.com/tracing/error_tracking/error_grouping)
        * [Monitors](https://docs.datadoghq.com/tracing/error_tracking/monitors)
        * [Identify Suspect Commits](https://docs.datadoghq.com/tracing/error_tracking/suspect_commits)
        * [Exception Replay](https://docs.datadoghq.com/tracing/error_tracking/exception_replay)
        * [Troubleshooting](https://docs.datadoghq.com/error_tracking/troubleshooting)
      * [Data Security](https://docs.datadoghq.com/tracing/configure_data_security/)
      * [Guides](https://docs.datadoghq.com/tracing/guide/)
      * [Troubleshooting](https://docs.datadoghq.com/tracing/troubleshooting/)
        * [Agent Rate Limits](https://docs.datadoghq.com/tracing/troubleshooting/agent_rate_limits)
        * [Agent APM metrics](https://docs.datadoghq.com/tracing/troubleshooting/agent_apm_metrics)
        * [Agent Resource Usage](https://docs.datadoghq.com/tracing/troubleshooting/agent_apm_resource_usage)
        * [Correlated Logs](https://docs.datadoghq.com/tracing/troubleshooting/correlated-logs-not-showing-up-in-the-trace-id-panel)
        * [PHP 5 Deep Call Stacks](https://docs.datadoghq.com/tracing/troubleshooting/php_5_deep_call_stacks)
        * [.NET diagnostic tool](https://docs.datadoghq.com/tracing/troubleshooting/dotnet_diagnostic_tool)
        * [APM Quantization](https://docs.datadoghq.com/tracing/troubleshooting/quantization)
        * [Go Compile-Time Instrumentation](https://docs.datadoghq.com/tracing/troubleshooting/go_compile_time)
        * [Tracer Startup Logs](https://docs.datadoghq.com/tracing/troubleshooting/tracer_startup_logs)
        * [Tracer Debug Logs](https://docs.datadoghq.com/tracing/troubleshooting/tracer_debug_logs)
        * [Connection Errors](https://docs.datadoghq.com/tracing/troubleshooting/connection_errors)
    * [Continuous Profiler](https://docs.datadoghq.com/profiler/)
      * [Enabling the Profiler](https://docs.datadoghq.com/profiler/enabling/)
        * [Supported Language and Tracer Versions](https://docs.datadoghq.com/profiler/enabling/supported_versions/)
        * [Java](https://docs.datadoghq.com/profiler/enabling/java/)
        * [Python](https://docs.datadoghq.com/profiler/enabling/python/)
        * [Go](https://docs.datadoghq.com/profiler/enabling/go/)
        * [Ruby](https://docs.datadoghq.com/profiler/enabling/ruby/)
        * [Node.js](https://docs.datadoghq.com/profiler/enabling/nodejs/)
        * [.NET](https://docs.datadoghq.com/profiler/enabling/dotnet/)
        * [PHP](https://docs.datadoghq.com/profiler/enabling/php/)
        * [C/C++/Rust](https://docs.datadoghq.com/profiler/enabling/ddprof/)
      * [Profile Types](https://docs.datadoghq.com/profiler/profile_types/)
      * [Profile Visualizations](https://docs.datadoghq.com/profiler/profile_visualizations/)
      * [Investigate Slow Traces or Endpoints](https://docs.datadoghq.com/profiler/connect_traces_and_profiles/)
      * [Compare Profiles](https://docs.datadoghq.com/profiler/compare_profiles)
      * [Automated Analysis](https://docs.datadoghq.com/profiler/automated_analysis)
      * [Profiler Troubleshooting](https://docs.datadoghq.com/profiler/profiler_troubleshooting/)
        * [Java](https://docs.datadoghq.com/profiler/profiler_troubleshooting/java/)
        * [Python](https://docs.datadoghq.com/profiler/profiler_troubleshooting/python/)
        * [Go](https://docs.datadoghq.com/profiler/profiler_troubleshooting/go/)
        * [Ruby](https://docs.datadoghq.com/profiler/profiler_troubleshooting/ruby/)
        * [Node.js](https://docs.datadoghq.com/profiler/profiler_troubleshooting/nodejs/)
        * [.NET](https://docs.datadoghq.com/profiler/profiler_troubleshooting/dotnet/)
        * [PHP](https://docs.datadoghq.com/profiler/profiler_troubleshooting/php/)
        * [C/C++/Rust](https://docs.datadoghq.com/profiler/profiler_troubleshooting/ddprof/)
      * [Guides](https://docs.datadoghq.com/profiler/guide/)
    * [Database Monitoring](https://docs.datadoghq.com/database_monitoring/)
      * [Agent Integration Overhead](https://docs.datadoghq.com/database_monitoring/agent_integration_overhead)
      * [Setup Architectures](https://docs.datadoghq.com/database_monitoring/architecture/)
      * [Setting Up Postgres](https://docs.datadoghq.com/database_monitoring/setup_postgres/)
        * [Self-hosted](https://docs.datadoghq.com/database_monitoring/setup_postgres/selfhosted)
        * [RDS](https://docs.datadoghq.com/database_monitoring/setup_postgres/rds)
        * [Aurora](https://docs.datadoghq.com/database_monitoring/setup_postgres/aurora)
        * [Google Cloud SQL](https://docs.datadoghq.com/database_monitoring/setup_postgres/gcsql)
        * [AlloyDB](https://docs.datadoghq.com/database_monitoring/setup_postgres/alloydb)
        * [Azure](https://docs.datadoghq.com/database_monitoring/setup_postgres/azure)
        * [Supabase](https://docs.datadoghq.com/database_monitoring/setup_postgres/supabase)
        * [Heroku](https://docs.datadoghq.com/database_monitoring/setup_postgres/heroku)
        * [Advanced Configuration](https://docs.datadoghq.com/database_monitoring/setup_postgres/advanced_configuration)
        * [Troubleshooting](https://docs.datadoghq.com/database_monitoring/setup_postgres/troubleshooting/)
      * [Setting Up MySQL](https://docs.datadoghq.com/database_monitoring/setup_mysql/)
        * [Self-hosted](https://docs.datadoghq.com/database_monitoring/setup_mysql/selfhosted)
        * [RDS](https://docs.datadoghq.com/database_monitoring/setup_mysql/rds)
        * [Aurora](https://docs.datadoghq.com/database_monitoring/setup_mysql/aurora)
        * [Google Cloud SQL](https://docs.datadoghq.com/database_monitoring/setup_mysql/gcsql)
        * [Azure](https://docs.datadoghq.com/database_monitoring/setup_mysql/azure)
        * [Advanced Configuration](https://docs.datadoghq.com/database_monitoring/setup_mysql/advanced_configuration)
        * [Troubleshooting](https://docs.datadoghq.com/database_monitoring/setup_mysql/troubleshooting/)
      * [Setting Up SQL Server](https://docs.datadoghq.com/database_monitoring/setup_sql_server/)
        * [Self-hosted](https://docs.datadoghq.com/database_monitoring/setup_sql_server/selfhosted/)
        * [RDS](https://docs.datadoghq.com/database_monitoring/setup_sql_server/rds/)
        * [Azure](https://docs.datadoghq.com/database_monitoring/setup_sql_server/azure/)
        * [Google Cloud SQL](https://docs.datadoghq.com/database_monitoring/setup_sql_server/gcsql/)
        * [Troubleshooting](https://docs.datadoghq.com/database_monitoring/setup_sql_server/troubleshooting/)
      * [Setting Up Oracle](https://docs.datadoghq.com/database_monitoring/setup_oracle/)
        * [Self-hosted](https://docs.datadoghq.com/database_monitoring/setup_oracle/selfhosted/)
        * [RDS](https://docs.datadoghq.com/database_monitoring/setup_oracle/rds/)
        * [RAC](https://docs.datadoghq.com/database_monitoring/setup_oracle/rac/)
        * [Exadata](https://docs.datadoghq.com/database_monitoring/setup_oracle/exadata/)
        * [Autonomous Database](https://docs.datadoghq.com/database_monitoring/setup_oracle/autonomous_database/)
        * [Troubleshooting](https://docs.datadoghq.com/database_monitoring/setup_oracle/troubleshooting/)
      * [Setting Up Amazon DocumentDB](https://docs.datadoghq.com/database_monitoring/setup_documentdb/)
        * [Amazon DocumentDB](https://docs.datadoghq.com/database_monitoring/setup_documentdb/amazon_documentdb)
      * [Setting Up MongoDB](https://docs.datadoghq.com/database_monitoring/setup_mongodb/)
        * [Self-hosted](https://docs.datadoghq.com/database_monitoring/setup_mongodb/selfhosted)
        * [MongoDB Atlas](https://docs.datadoghq.com/database_monitoring/setup_mongodb/mongodbatlas)
        * [Troubleshooting](https://docs.datadoghq.com/database_monitoring/setup_mongodb/troubleshooting/)
      * [Connecting DBM and Traces](https://docs.datadoghq.com/database_monitoring/connect_dbm_and_apm/)
      * [Data Collected](https://docs.datadoghq.com/database_monitoring/data_collected)
      * [Exploring Database Hosts](https://docs.datadoghq.com/database_monitoring/database_hosts/)
      * [Exploring Query Metrics](https://docs.datadoghq.com/database_monitoring/query_metrics/)
      * [Exploring Query Samples](https://docs.datadoghq.com/database_monitoring/query_samples/)
      * [Exploring Database Schemas](https://docs.datadoghq.com/database_monitoring/schema_explorer)
      * [Exploring Recommendations](https://docs.datadoghq.com/database_monitoring/recommendations/)
      * [Troubleshooting](https://docs.datadoghq.com/database_monitoring/troubleshooting/)
      * [Guides](https://docs.datadoghq.com/database_monitoring/guide/)
    * [Data Streams Monitoring](https://docs.datadoghq.com/data_streams/)
      * [Setup](https://docs.datadoghq.com/data_streams/setup)
      * [Kafka Messages](https://docs.datadoghq.com/data_streams/messages)
      * [Schema Tracking](https://docs.datadoghq.com/data_streams/schema_tracking)
      * [Dead Letter Queues](https://docs.datadoghq.com/data_streams/dead_letter_queues)
      * [Metrics and Tags](https://docs.datadoghq.com/data_streams/metrics_and_tags)
  * [Data Observability ](https://docs.datadoghq.com/api/latest/aws-integration/)
    * [Data Observability](https://docs.datadoghq.com/data_observability/)
    * [Quality Monitoring](https://docs.datadoghq.com/data_observability/quality_monitoring/)
      * [Data Warehouses](https://docs.datadoghq.com/data_observability/quality_monitoring/data_warehouses)
        * [Snowflake](https://docs.datadoghq.com/data_observability/quality_monitoring/data_warehouses/snowflake)
        * [Databricks](https://docs.datadoghq.com/data_observability/quality_monitoring/data_warehouses/databricks)
        * [BigQuery](https://docs.datadoghq.com/data_observability/quality_monitoring/data_warehouses/bigquery)
      * [Business Intelligence Integrations](https://docs.datadoghq.com/data_observability/quality_monitoring/business_intelligence)
        * [Tableau](https://docs.datadoghq.com/data_observability/quality_monitoring/business_intelligence/tableau)
        * [Sigma](https://docs.datadoghq.com/data_observability/quality_monitoring/business_intelligence/sigma)
        * [Metabase](https://docs.datadoghq.com/data_observability/quality_monitoring/business_intelligence/metabase)
        * [Power BI](https://docs.datadoghq.com/data_observability/quality_monitoring/business_intelligence/powerbi)
    * [Jobs Monitoring](https://docs.datadoghq.com/data_observability/jobs_monitoring/)
      * [Databricks](https://docs.datadoghq.com/data_observability/jobs_monitoring/databricks)
      * [Airflow](https://docs.datadoghq.com/data_observability/jobs_monitoring/airflow)
      * [dbt](https://docs.datadoghq.com/data_observability/jobs_monitoring/dbt)
      * [Spark on Kubernetes](https://docs.datadoghq.com/data_observability/jobs_monitoring/kubernetes)
      * [Spark on Amazon EMR](https://docs.datadoghq.com/data_observability/jobs_monitoring/emr)
      * [Spark on Google Dataproc](https://docs.datadoghq.com/data_observability/jobs_monitoring/dataproc)
      * [Custom Jobs (OpenLineage)](https://docs.datadoghq.com/data_observability/jobs_monitoring/openlineage)
        * [Datadog Agent for OpenLineage Proxy](https://docs.datadoghq.com/data_observability/jobs_monitoring/openlineage/datadog_agent_for_openlineage)
  * [Digital Experience ](https://docs.datadoghq.com/api/latest/aws-integration/)
    * [Real User Monitoring](https://docs.datadoghq.com/real_user_monitoring/)
      * [Application Monitoring](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/)
        * [Browser](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/browser/)
        * [Android and Android TV](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/android)
        * [iOS and tvOS](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/ios)
        * [Flutter](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/flutter)
        * [Kotlin Multiplatform](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/kotlin_multiplatform)
        * [React Native](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/react_native)
        * [Roku](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/roku)
        * [Unity](https://docs.datadoghq.com/real_user_monitoring/application_monitoring/unity)
      * [Platform](https://docs.datadoghq.com/real_user_monitoring/platform)
        * [Dashboards](https://docs.datadoghq.com/real_user_monitoring/platform/dashboards/)
        * [Monitors](https://docs.datadoghq.com/monitors/types/real_user_monitoring/)
        * [Generate Custom Metrics](https://docs.datadoghq.com/real_user_monitoring/platform/generate_metrics)
      * [Exploring RUM Data](https://docs.datadoghq.com/real_user_monitoring/explorer/)
        * [Search RUM Events](https://docs.datadoghq.com/real_user_monitoring/explorer/search/)
        * [Search Syntax](https://docs.datadoghq.com/real_user_monitoring/explorer/search_syntax/)
        * [Group](https://docs.datadoghq.com/real_user_monitoring/explorer/group/)
        * [Visualize](https://docs.datadoghq.com/real_user_monitoring/explorer/visualize/)
        * [Events](https://docs.datadoghq.com/real_user_monitoring/explorer/events/)
        * [Export](https://docs.datadoghq.com/real_user_monitoring/explorer/export/)
        * [Saved Views](https://docs.datadoghq.com/real_user_monitoring/explorer/saved_views/)
        * [Watchdog Insights for RUM](https://docs.datadoghq.com/real_user_monitoring/explorer/watchdog_insights/)
      * [Correlate RUM with Other Telemetry](https://docs.datadoghq.com/real_user_monitoring/correlate_with_other_telemetry/)
        * [Correlate LLM with RUM](https://docs.datadoghq.com/real_user_monitoring/correlate_with_other_telemetry/llm_observability)
        * [Correlate Logs with RUM](https://docs.datadoghq.com/real_user_monitoring/correlate_with_other_telemetry/logs)
        * [Correlate Profiling with RUM](https://docs.datadoghq.com/real_user_monitoring/correlate_with_other_telemetry/profiling/)
        * [Correlate Synthetics with RUM](https://docs.datadoghq.com/real_user_monitoring/correlate_with_other_telemetry/synthetics/)
        * [Correlate Traces with RUM](https://docs.datadoghq.com/real_user_monitoring/correlate_with_other_telemetry/apm)
      * [Feature Flag Tracking](https://docs.datadoghq.com/real_user_monitoring/feature_flag_tracking)
        * [Setup](https://docs.datadoghq.com/real_user_monitoring/feature_flag_tracking/setup)
        * [Using Feature Flags](https://docs.datadoghq.com/real_user_monitoring/feature_flag_tracking/using_feature_flags)
      * [Error Tracking](https://docs.datadoghq.com/real_user_monitoring/error_tracking/)
        * [Explorer](https://docs.datadoghq.com/real_user_monitoring/error_tracking/explorer/)
        * [Issue States](https://docs.datadoghq.com/real_user_monitoring/error_tracking/issue_states)
        * [Track Browser Errors](https://docs.datadoghq.com/real_user_monitoring/error_tracking/browser/)
        * [Track Mobile Errors](https://docs.datadoghq.com/real_user_monitoring/error_tracking/mobile/)
        * [Error Grouping](https://docs.datadoghq.com/real_user_monitoring/error_tracking/error_grouping)
        * [Monitors](https://docs.datadoghq.com/real_user_monitoring/error_tracking/monitors)
        * [Identify Suspect Commits](https://docs.datadoghq.com/real_user_monitoring/error_tracking/suspect_commits)
        * [Troubleshooting](https://docs.datadoghq.com/real_user_monitoring/error_tracking/troubleshooting)
      * [RUM Without Limits](https://docs.datadoghq.com/real_user_monitoring/rum_without_limits/)
        * [Metrics](https://docs.datadoghq.com/real_user_monitoring/rum_without_limits/metrics)
        * [Retention Filters](https://docs.datadoghq.com/real_user_monitoring/rum_without_limits/retention_filters)
      * [Operations Monitoring](https://docs.datadoghq.com/real_user_monitoring/operations_monitoring/)
      * [Ownership of Views](https://docs.datadoghq.com/real_user_monitoring/ownership_of_views/)
      * [Guides](https://docs.datadoghq.com/real_user_monitoring/guide/)
      * [Data Security](https://docs.datadoghq.com/data_security/real_user_monitoring/)
    * [Synthetic Testing and Monitoring](https://docs.datadoghq.com/synthetics/)
      * [API Testing](https://docs.datadoghq.com/synthetics/api_tests/)
        * [HTTP](https://docs.datadoghq.com/synthetics/api_tests/http_tests)
        * [SSL](https://docs.datadoghq.com/synthetics/api_tests/ssl_tests)
        * [DNS](https://docs.datadoghq.com/synthetics/api_tests/dns_tests)
        * [WebSocket](https://docs.datadoghq.com/synthetics/api_tests/websocket_tests)
        * [TCP](https://docs.datadoghq.com/synthetics/api_tests/tcp_tests)
        * [UDP](https://docs.datadoghq.com/synthetics/api_tests/udp_tests)
        * [ICMP](https://docs.datadoghq.com/synthetics/api_tests/icmp_tests)
        * [GRPC](https://docs.datadoghq.com/synthetics/api_tests/grpc_tests)
        * [Error codes](https://docs.datadoghq.com/synthetics/api_tests/errors)
      * [Multistep API Testing](https://docs.datadoghq.com/synthetics/multistep)
      * [Browser Testing](https://docs.datadoghq.com/synthetics/browser_tests/)
        * [Recording Steps](https://docs.datadoghq.com/synthetics/browser_tests/test_steps)
        * [Browser Testing Results](https://docs.datadoghq.com/synthetics/browser_tests/test_results)
        * [Advanced Options for Steps](https://docs.datadoghq.com/synthetics/browser_tests/advanced_options)
        * [Authentication in Browser Testing](https://docs.datadoghq.com/synthetics/browser_tests/app-that-requires-login)
      * [Network Path Testing](https://docs.datadoghq.com/synthetics/network_path_tests/)
        * [Terms and Concepts](https://docs.datadoghq.com/synthetics/network_path_tests/glossary)
      * [Mobile Application Testing](https://docs.datadoghq.com/synthetics/mobile_app_testing/)
        * [Testing Steps](https://docs.datadoghq.com/synthetics/mobile_app_testing/mobile_app_tests/steps)
        * [Testing Results](https://docs.datadoghq.com/synthetics/mobile_app_testing/mobile_app_tests/results)
        * [Advanced Options for Steps](https://docs.datadoghq.com/synthetics/mobile_app_testing/mobile_app_tests/advanced_options)
        * [Supported Devices](https://docs.datadoghq.com/synthetics/mobile_app_testing/devices/)
        * [Restricted Networks](https://docs.datadoghq.com/synthetics/mobile_app_testing/mobile_app_tests/restricted_networks)
        * [Settings](https://docs.datadoghq.com/synthetics/mobile_app_testing/settings)
      * [Test Suites](https://docs.datadoghq.com/synthetics/test_suites/)
      * [Platform](https://docs.datadoghq.com/synthetics/platform/)
        * [Dashboards](https://docs.datadoghq.com/synthetics/platform/dashboards)
        * [Metrics](https://docs.datadoghq.com/synthetics/platform/metrics/)
        * [Test Coverage](https://docs.datadoghq.com/synthetics/platform/test_coverage)
        * [Private Locations](https://docs.datadoghq.com/synthetics/platform/private_locations)
        * [Connect APM](https://docs.datadoghq.com/synthetics/platform/apm/)
        * [Settings](https://docs.datadoghq.com/synthetics/platform/settings)
      * [Exploring Synthetics Data](https://docs.datadoghq.com/synthetics/explore/)
        * [Saved Views](https://docs.datadoghq.com/synthetics/explore/saved_views)
        * [Results Explorer](https://docs.datadoghq.com/synthetics/explore/results_explorer)
      * [Guides](https://docs.datadoghq.com/synthetics/guide/)
      * [Notifications](https://docs.datadoghq.com/synthetics/notifications/)
        * [Template Variables](https://docs.datadoghq.com/synthetics/notifications/template_variables)
        * [Conditional Alerting](https://docs.datadoghq.com/synthetics/notifications/conditional_alerting)
        * [Advanced Notifications](https://docs.datadoghq.com/synthetics/notifications/advanced_notifications)
        * [Integrate with Statuspage](https://docs.datadoghq.com/synthetics/notifications/statuspage)
      * [Troubleshooting](https://docs.datadoghq.com/synthetics/troubleshooting/)
      * [Data Security](https://docs.datadoghq.com/data_security/synthetics/)
    * [Continuous Testing](https://docs.datadoghq.com/continuous_testing/)
      * [Local and Staging Environments](https://docs.datadoghq.com/continuous_testing/environments)
        * [Testing Multiple Environments](https://docs.datadoghq.com/continuous_testing/environments/multiple_env)
        * [Testing With Proxy, Firewall, or VPN](https://docs.datadoghq.com/continuous_testing/environments/proxy_firewall_vpn)
      * [CI/CD Integrations](https://docs.datadoghq.com/continuous_testing/cicd_integrations)
        * [Configuration](https://docs.datadoghq.com/continuous_testing/cicd_integrations/configuration)
        * [Azure DevOps Extension](https://docs.datadoghq.com/continuous_testing/cicd_integrations/azure_devops_extension)
        * [CircleCI Orb](https://docs.datadoghq.com/continuous_testing/cicd_integrations/circleci_orb)
        * [GitHub Actions](https://docs.datadoghq.com/continuous_testing/cicd_integrations/github_actions)
        * [GitLab](https://docs.datadoghq.com/continuous_testing/cicd_integrations/gitlab)
        * [Jenkins](https://docs.datadoghq.com/continuous_testing/cicd_integrations/jenkins)
        * [Bitrise (Upload Application)](https://docs.datadoghq.com/continuous_testing/cicd_integrations/bitrise_upload)
        * [Bitrise (Run Tests)](https://docs.datadoghq.com/continuous_testing/cicd_integrations/bitrise_run)
      * [Settings](https://docs.datadoghq.com/continuous_testing/settings)
      * [Results Explorer](https://docs.datadoghq.com/continuous_testing/results_explorer/)
      * [Metrics](https://docs.datadoghq.com/continuous_testing/metrics/)
      * [Guides](https://docs.datadoghq.com/continuous_testing/guide/)
      * [Troubleshooting](https://docs.datadoghq.com/continuous_testing/troubleshooting/)
    * [Product Analytics](https://docs.datadoghq.com/product_analytics)
      * [Vizualizing with Charts](https://docs.datadoghq.com/product_analytics/charts)
        * [Chart Basics](https://docs.datadoghq.com/product_analytics/charts/chart_basics)
        * [Pathways Diagram](https://docs.datadoghq.com/product_analytics/charts/pathways)
        * [Funnel Analysis](https://docs.datadoghq.com/product_analytics/charts/funnel_analysis)
        * [Retention Analysis](https://docs.datadoghq.com/product_analytics/charts/retention_analysis)
        * [Analytics Explorer](https://docs.datadoghq.com/product_analytics/charts/analytics_explorer)
      * [Dashboards](https://docs.datadoghq.com/product_analytics/dashboards)
      * [Segments](https://docs.datadoghq.com/product_analytics/segmentation/)
      * [Managing Profiles](https://docs.datadoghq.com/product_analytics/profiles)
      * [Experiments](https://docs.datadoghq.com/product_analytics/experimentation/)
        * [Define Metrics](https://docs.datadoghq.com/product_analytics/experimentation/defining_metrics)
        * [Reading Experiment Results](https://docs.datadoghq.com/product_analytics/experimentation/reading_results)
        * [Minimum Detectable Effects](https://docs.datadoghq.com/product_analytics/experimentation/minimum_detectable_effect)
      * [Guides](https://docs.datadoghq.com/product_analytics/guide/)
      * [Troubleshooting](https://docs.datadoghq.com/product_analytics/troubleshooting/)
    * [Session Replay](https://docs.datadoghq.com/session_replay/)
      * [Browser](https://docs.datadoghq.com/session_replay/browser)
        * [Setup](https://docs.datadoghq.com/session_replay/browser/setup_and_configuration)
        * [Privacy Options](https://docs.datadoghq.com/session_replay/browser/privacy_options)
        * [Developer Tools](https://docs.datadoghq.com/session_replay/browser/dev_tools)
        * [Troubleshooting](https://docs.datadoghq.com/session_replay/browser/troubleshooting)
      * [Mobile](https://docs.datadoghq.com/session_replay/mobile)
        * [Setup and Configuration](https://docs.datadoghq.com/session_replay/mobile/setup_and_configuration)
        * [Privacy Options](https://docs.datadoghq.com/session_replay/mobile/privacy_options)
        * [Developer Tools](https://docs.datadoghq.com/session_replay/mobile/dev_tools)
        * [Impact on App Performance](https://docs.datadoghq.com/session_replay/mobile/app_performance)
        * [Troubleshooting](https://docs.datadoghq.com/session_replay/mobile/troubleshooting)
      * [Playlists](https://docs.datadoghq.com/session_replay/playlists)
      * [Heatmaps](https://docs.datadoghq.com/session_replay/heatmaps)
  * [Software Delivery ](https://docs.datadoghq.com/api/latest/aws-integration/)
    * [CI Visibility](https://docs.datadoghq.com/continuous_integration/)
      * [Pipeline Visibility](https://docs.datadoghq.com/continuous_integration/pipelines/)
        * [AWS CodePipeline](https://docs.datadoghq.com/continuous_integration/pipelines/awscodepipeline/)
        * [Azure Pipelines](https://docs.datadoghq.com/continuous_integration/pipelines/azure/)
        * [Buildkite](https://docs.datadoghq.com/continuous_integration/pipelines/buildkite/)
        * [CircleCI](https://docs.datadoghq.com/continuous_integration/pipelines/circleci/)
        * [Codefresh](https://docs.datadoghq.com/continuous_integration/pipelines/codefresh/)
        * [GitHub Actions](https://docs.datadoghq.com/continuous_integration/pipelines/github/)
        * [GitLab](https://docs.datadoghq.com/continuous_integration/pipelines/gitlab/)
        * [Jenkins](https://docs.datadoghq.com/continuous_integration/pipelines/jenkins/)
        * [TeamCity](https://docs.datadoghq.com/continuous_integration/pipelines/teamcity/)
        * [Other CI Providers](https://docs.datadoghq.com/continuous_integration/pipelines/custom/)
        * [Custom Commands](https://docs.datadoghq.com/continuous_integration/pipelines/custom_commands/)
        * [Custom Tags and Measures](https://docs.datadoghq.com/continuous_integration/pipelines/custom_tags_and_measures/)
      * [Search and Manage](https://docs.datadoghq.com/continuous_integration/search/)
      * [Explorer](https://docs.datadoghq.com/continuous_integration/explorer)
        * [Search Syntax](https://docs.datadoghq.com/continuous_integration/explorer/search_syntax/)
        * [Search Pipeline Executions](https://docs.datadoghq.com/continuous_integration/explorer/facets/)
        * [Export](https://docs.datadoghq.com/continuous_integration/explorer/export/)
        * [Saved Views](https://docs.datadoghq.com/continuous_integration/explorer/saved_views/)
      * [Monitors](https://docs.datadoghq.com/monitors/types/ci/?tab=pipelines)
      * [Guides](https://docs.datadoghq.com/continuous_integration/guides/)
      * [Troubleshooting](https://docs.datadoghq.com/continuous_integration/troubleshooting/)
    * [CD Visibility](https://docs.datadoghq.com/continuous_delivery/)
      * [Deployment Visibility](https://docs.datadoghq.com/continuous_delivery/deployments)
        * [Argo CD](https://docs.datadoghq.com/continuous_delivery/deployments/argocd)
        * [CI Providers](https://docs.datadoghq.com/continuous_delivery/deployments/ciproviders)
      * [Explore Deployments](https://docs.datadoghq.com/continuous_delivery/explorer)
        * [Search Syntax](https://docs.datadoghq.com/continuous_delivery/explorer/search_syntax)
        * [Facets](https://docs.datadoghq.com/continuous_delivery/explorer/facets)
        * [Saved Views](https://docs.datadoghq.com/continuous_delivery/explorer/saved_views)
      * [Features](https://docs.datadoghq.com/continuous_delivery/features)
        * [Code Changes Detection](https://docs.datadoghq.com/continuous_delivery/features/code_changes_detection)
        * [Rollback Detection](https://docs.datadoghq.com/continuous_delivery/features/rollbacks_detection)
      * [Monitors](https://docs.datadoghq.com/monitors/types/ci/?tab=deployments)
    * [Deployment Gates](https://docs.datadoghq.com/deployment_gates/)
      * [Setup](https://docs.datadoghq.com/deployment_gates/setup/)
      * [Explore](https://docs.datadoghq.com/deployment_gates/explore/)
    * [Test Optimization](https://docs.datadoghq.com/tests/)
      * [Setup](https://docs.datadoghq.com/tests/setup/)
        * [.NET](https://docs.datadoghq.com/tests/setup/dotnet/)
        * [Java and JVM Languages](https://docs.datadoghq.com/tests/setup/java/)
        * [JavaScript and TypeScript](https://docs.datadoghq.com/tests/setup/javascript/)
        * [Python](https://docs.datadoghq.com/tests/setup/python/)
        * [Ruby](https://docs.datadoghq.com/tests/setup/ruby/)
        * [Swift](https://docs.datadoghq.com/tests/setup/swift/)
        * [Go](https://docs.datadoghq.com/tests/setup/go/)
        * [JUnit Report Uploads](https://docs.datadoghq.com/tests/setup/junit_xml/)
      * [Network Settings](https://docs.datadoghq.com/tests/network/)
      * [Tests in Containers](https://docs.datadoghq.com/tests/containers/)
      * [Repositories](https://docs.datadoghq.com/tests/repositories)
      * [Explorer](https://docs.datadoghq.com/tests/explorer/)
        * [Search Syntax](https://docs.datadoghq.com/tests/explorer/search_syntax)
        * [Search Test Runs](https://docs.datadoghq.com/tests/explorer/facets/)
        * [Export](https://docs.datadoghq.com/tests/explorer/export/)
        * [Saved Views](https://docs.datadoghq.com/tests/explorer/saved_views/)
      * [Monitors](https://docs.datadoghq.com/monitors/types/ci/?tab=tests)
      * [Test Health](https://docs.datadoghq.com/tests/test_health)
      * [Flaky Test Management](https://docs.datadoghq.com/tests/flaky_management)
      * [Working with Flaky Tests](https://docs.datadoghq.com/tests/flaky_tests)
        * [Early Flake Detection](https://docs.datadoghq.com/tests/flaky_tests/early_flake_detection)
        * [Auto Test Retries](https://docs.datadoghq.com/tests/flaky_tests/auto_test_retries)
      * [Test Impact Analysis](https://docs.datadoghq.com/tests/test_impact_analysis)
        * [Setup](https://docs.datadoghq.com/tests/test_impact_analysis/setup/)
        * [How It Works](https://docs.datadoghq.com/tests/test_impact_analysis/how_it_works/)
        * [Troubleshooting](https://docs.datadoghq.com/tests/test_impact_analysis/troubleshooting/)
      * [Developer Workflows](https://docs.datadoghq.com/tests/developer_workflows)
      * [Code Coverage](https://docs.datadoghq.com/tests/code_coverage)
      * [Instrument Browser Tests with RUM](https://docs.datadoghq.com/tests/browser_tests)
      * [Instrument Swift Tests with RUM](https://docs.datadoghq.com/tests/swift_tests)
      * [Correlate Logs and Tests](https://docs.datadoghq.com/tests/correlate_logs_and_tests)
      * [Guides](https://docs.datadoghq.com/tests/guides/)
      * [Troubleshooting](https://docs.datadoghq.com/tests/troubleshooting/)
    * [Code Coverage](https://docs.datadoghq.com/code_coverage/)
      * [Setup](https://docs.datadoghq.com/code_coverage/setup/)
      * [Data Collected](https://docs.datadoghq.com/code_coverage/data_collected/)
    * [PR Gates](https://docs.datadoghq.com/pr_gates/)
      * [Setup](https://docs.datadoghq.com/pr_gates/setup)
    * [DORA Metrics](https://docs.datadoghq.com/dora_metrics/)
      * [Setup](https://docs.datadoghq.com/dora_metrics/setup)
        * [Deployment Data Sources](https://docs.datadoghq.com/dora_metrics/setup/deployments)
        * [Failure Data Sources](https://docs.datadoghq.com/dora_metrics/setup/failures/)
      * [Change Failure Detection](https://docs.datadoghq.com/dora_metrics/change_failure_detection/)
      * [Data Collected](https://docs.datadoghq.com/dora_metrics/data_collected/)
    * [Feature Flags](https://docs.datadoghq.com/feature_flags/)
      * [Client SDKs](https://docs.datadoghq.com/feature_flags/client)
        * [Android and Android TV](https://docs.datadoghq.com/feature_flags/client/android)
        * [iOS and tvOS](https://docs.datadoghq.com/feature_flags/client/ios)
        * [JavaScript](https://docs.datadoghq.com/feature_flags/client/javascript)
        * [React](https://docs.datadoghq.com/feature_flags/client/react)
      * [Server SDKs](https://docs.datadoghq.com/feature_flags/server)
        * [Go](https://docs.datadoghq.com/feature_flags/server/go)
        * [Java](https://docs.datadoghq.com/feature_flags/server/java)
        * [Node.js](https://docs.datadoghq.com/feature_flags/server/nodejs)
        * [Python](https://docs.datadoghq.com/feature_flags/server/python)
        * [Ruby](https://docs.datadoghq.com/feature_flags/server/ruby)
      * [MCP Server](https://docs.datadoghq.com/feature_flags/feature_flag_mcp_server)
      * [Guides](https://docs.datadoghq.com/feature_flags/guide)
  * [Security ](https://docs.datadoghq.com/api/latest/aws-integration/)
    * [Security Overview](https://docs.datadoghq.com/security/)
      * [Detection Rules](https://docs.datadoghq.com/security/detection_rules/)
        * [OOTB Rules](https://docs.datadoghq.com/security/default_rules/#all)
      * [Notifications](https://docs.datadoghq.com/security/notifications/)
        * [Rules](https://docs.datadoghq.com/security/notifications/rules/)
        * [Variables](https://docs.datadoghq.com/security/notifications/variables/)
      * [Suppressions](https://docs.datadoghq.com/security/suppressions/)
      * [Automation Pipelines](https://docs.datadoghq.com/security/automation_pipelines/)
        * [Mute](https://docs.datadoghq.com/security/automation_pipelines/mute)
        * [Add to Security Inbox](https://docs.datadoghq.com/security/automation_pipelines/security_inbox)
        * [Set Due Date Rules](https://docs.datadoghq.com/security/automation_pipelines/set_due_date)
      * [Security Inbox](https://docs.datadoghq.com/security/security_inbox)
      * [Threat Intelligence](https://docs.datadoghq.com/security/threat_intelligence)
      * [Audit Trail](https://docs.datadoghq.com/security/audit_trail)
      * [Access Control](https://docs.datadoghq.com/security/access_control)
      * [Account Takeover Protection](https://docs.datadoghq.com/security/account_takeover_protection)
      * [Ticketing Integrations](https://docs.datadoghq.com/security/ticketing_integrations)
      * [Research Feed](https://docs.datadoghq.com/security/research_feed)
      * [Guides](https://docs.datadoghq.com/security/guide)
    * [Cloud SIEM](https://docs.datadoghq.com/security/cloud_siem/)
      * [Ingest and Enrich](https://docs.datadoghq.com/security/cloud_siem/ingest_and_enrich/)
        * [Content Packs](https://docs.datadoghq.com/security/cloud_siem/ingest_and_enrich/content_packs)
        * [Bring Your Own Threat Intelligence](https://docs.datadoghq.com/security/cloud_siem/ingest_and_enrich/threat_intelligence)
        * [Open Cybersecurity Schema Framework](https://docs.datadoghq.com/security/cloud_siem/ingest_and_enrich/open_cybersecurity_schema_framework)
      * [Detect and Monitor](https://docs.datadoghq.com/security/cloud_siem/detect_and_monitor/)
        * [OOTB Rules](https://docs.datadoghq.com/security/default_rules/#cat-cloud-siem-log-detection)
        * [Custom Detection Rules](https://docs.datadoghq.com/security/cloud_siem/detect_and_monitor/custom_detection_rules)
        * [Version History](https://docs.datadoghq.com/security/cloud_siem/detect_and_monitor/version_history)
        * [Suppressions](https://docs.datadoghq.com/security/cloud_siem/detect_and_monitor/suppressions)
        * [Historical Jobs](https://docs.datadoghq.com/security/cloud_siem/detect_and_monitor/historical_jobs)
        * [MITRE ATT&CK Map](https://docs.datadoghq.com/security/cloud_siem/detect_and_monitor/mitre_attack_map)
      * [Triage and Investigate](https://docs.datadoghq.com/security/cloud_siem/triage_and_investigate)
        * [Investigate Security Signals](https://docs.datadoghq.com/security/cloud_siem/triage_and_investigate/investigate_security_signals)
        * [Risk Insights](https://docs.datadoghq.com/security/cloud_siem/triage_and_investigate/entities_and_risk_scoring)
        * [IOC Explorer](https://docs.datadoghq.com/security/cloud_siem/triage_and_investigate/ioc_explorer)
        * [Investigator](https://docs.datadoghq.com/security/cloud_siem/triage_and_investigate/investigator)
      * [Respond and Report](https://docs.datadoghq.com/security/cloud_siem/respond_and_report)
        * [Security Operational Metrics](https://docs.datadoghq.com/security/cloud_siem/respond_and_report/security_operational_metrics)
      * [Guides](https://docs.datadoghq.com/security/cloud_siem/guide/)
      * [Data Security](https://docs.datadoghq.com/data_security/cloud_siem/)
    * [Code Security](https://docs.datadoghq.com/security/code_security/)
      * [Static Code Analysis (SAST)](https://docs.datadoghq.com/security/code_security/static_analysis/)
        * [Setup](https://docs.datadoghq.com/security/code_security/static_analysis/setup/)
        * [GitHub Actions](https://docs.datadoghq.com/security/code_security/static_analysis/github_actions/)
        * [Generic CI Providers](https://docs.datadoghq.com/security/code_security/static_analysis/generic_ci_providers/)
        * [AI-Enhanced Static Code Analysis](https://docs.datadoghq.com/security/code_security/static_analysis/ai_enhanced_sast/)
        * [SAST Custom Rule Creation Tutorial](https://docs.datadoghq.com/security/code_security/static_analysis/custom_rules/tutorial/)
        * [SAST Custom Rules](https://docs.datadoghq.com/security/code_security/static_analysis/custom_rules/)
        * [SAST Custom Rules Guide](https://docs.datadoghq.com/security/code_security/static_analysis/custom_rules/guide/)
        * [Static Code Analysis (SAST) rules](https://docs.datadoghq.com/security/code_security/static_analysis/static_analysis_rules/)
      * [Software Composition Analysis (SCA)](https://docs.datadoghq.com/security/code_security/software_composition_analysis/)
        * [Static Setup](https://docs.datadoghq.com/security/code_security/software_composition_analysis/setup_static/)
        * [Runtime Setup](https://docs.datadoghq.com/security/code_security/software_composition_analysis/setup_runtime/)
        * [Library Inventory](https://docs.datadoghq.com/security/code_security/software_composition_analysis/library_inventory/)
      * [Secret Scanning](https://docs.datadoghq.com/security/code_security/secret_scanning/)
        * [GitHub Actions](https://docs.datadoghq.com/security/code_security/secret_scanning/github_actions/)
        * [Generic CI Providers](https://docs.datadoghq.com/security/code_security/secret_scanning/generic_ci_providers/)
        * [Secret Validation](https://docs.datadoghq.com/security/code_security/secret_scanning/secret_validation/)
      * [Runtime Code Analysis (IAST)](https://docs.datadoghq.com/security/code_security/iast/)
        * [Setup](https://docs.datadoghq.com/security/code_security/iast/setup/)
        * [Security Controls](https://docs.datadoghq.com/security/code_security/iast/security_controls/)
      * [Infrastructure as Code (IaC) Security](https://docs.datadoghq.com/security/code_security/iac_security/)
        * [Setup](https://docs.datadoghq.com/security/code_security/iac_security/setup/)
        * [Exclusions](https://docs.datadoghq.com/security/code_security/iac_security/exclusions/)
        * [Rules](https://docs.datadoghq.com/security/code_security/iac_security/iac_rules/)
      * [Developer Tool Integrations](https://docs.datadoghq.com/security/code_security/dev_tool_int/)
        * [Pull Request Comments](https://docs.datadoghq.com/security/code_security/dev_tool_int/pull_request_comments/)
        * [PR Gates](https://docs.datadoghq.com/pr_gates/)
        * [IDE Plugins](https://docs.datadoghq.com/security/code_security/dev_tool_int/ide_plugins/)
        * [Git Hooks](https://docs.datadoghq.com/security/code_security/dev_tool_int/git_hooks/)
      * [Troubleshooting](https://docs.datadoghq.com/security/code_security/troubleshooting/)
      * [Guides](https://docs.datadoghq.com/security/code_security/guides/)
    * [Cloud Security](https://docs.datadoghq.com/security/cloud_security_management)
      * [Setup](https://docs.datadoghq.com/security/cloud_security_management/setup)
        * [Supported Deployment Types](https://docs.datadoghq.com/security/cloud_security_management/setup/supported_deployment_types)
        * [Agentless Scanning](https://docs.datadoghq.com/security/cloud_security_management/setup/agentless_scanning)
        * [Deploy the Agent](https://docs.datadoghq.com/security/cloud_security_management/setup/agent)
        * [Set Up CloudTrail Logs](https://docs.datadoghq.com/security/cloud_security_management/setup/cloudtrail_logs)
        * [Set Up without Infrastructure Monitoring](https://docs.datadoghq.com/security/cloud_security_management/setup/without_infrastructure_monitoring)
        * [Deploy via Cloud Integrations](https://docs.datadoghq.com/security/cloud_security_management/setup/cloud_integrations)
      * [Security Graph](https://docs.datadoghq.com/security/cloud_security_management/security_graph/)
      * [Misconfigurations](https://docs.datadoghq.com/security/cloud_security_management/misconfigurations/)
        * [Manage Compliance Rules](https://docs.datadoghq.com/security/cloud_security_management/misconfigurations/compliance_rules)
        * [Create Custom Rules](https://docs.datadoghq.com/security/cloud_security_management/misconfigurations/custom_rules)
        * [Manage Compliance Posture](https://docs.datadoghq.com/security/cloud_security_management/misconfigurations/frameworks_and_benchmarks)
        * [Explore Misconfigurations](https://docs.datadoghq.com/security/cloud_security_management/misconfigurations/findings)
        * [Kubernetes Security Posture Management](https://docs.datadoghq.com/security/cloud_security_management/misconfigurations/kspm)
      * [Identity Risks](https://docs.datadoghq.com/security/cloud_security_management/identity_risks/)
      * [Vulnerabilities](https://docs.datadoghq.com/security/cloud_security_management/vulnerabilities)
        * [Hosts and Containers Compatibility](https://docs.datadoghq.com/security/cloud_security_management/vulnerabilities/hosts_containers_compatibility)
      * [OOTB Rules](https://docs.datadoghq.com/security/default_rules/#cat-cloud-security-management)
      * [Review and Remediate](https://docs.datadoghq.com/security/cloud_security_management/review_remediate)
        * [Mute Issues](https://docs.datadoghq.com/security/cloud_security_management/review_remediate/mute_issues)
        * [Automate Security Workflows](https://docs.datadoghq.com/security/cloud_security_management/review_remediate/workflows)
        * [Create Jira Issues](https://docs.datadoghq.com/security/cloud_security_management/review_remediate/jira)
      * [Severity Scoring](https://docs.datadoghq.com/security/cloud_security_management/severity_scoring/)
      * [Guides](https://docs.datadoghq.com/security/cloud_security_management/guide/)
      * [Troubleshooting](https://docs.datadoghq.com/security/cloud_security_management/troubleshooting/)
        * [Vulnerabilities](https://docs.datadoghq.com/security/cloud_security_management/troubleshooting/vulnerabilities/)
    * [App and API Protection](https://docs.datadoghq.com/security/application_security/)
      * [Terms and Concepts](https://docs.datadoghq.com/security/application_security/terms/)
      * [How It Works](https://docs.datadoghq.com/security/application_security/how-it-works/)
        * [Threat Intelligence](https://docs.datadoghq.com/security/application_security/how-it-works/threat-intelligence)
        * [Trace Qualification](https://docs.datadoghq.com/security/application_security/how-it-works/trace_qualification)
        * [User Monitoring and Protection](https://docs.datadoghq.com/security/application_security/how-it-works/add-user-info)
      * [Setup](https://docs.datadoghq.com/security/application_security/setup/)
      * [Overview](https://docs.datadoghq.com/security/application_security/overview)
      * [Security Signals](https://docs.datadoghq.com/security/application_security/security_signals)
        * [Attackers Explorer](https://docs.datadoghq.com/security/application_security/security_signals/attacker-explorer/)
        * [Attacker Fingerprint](https://docs.datadoghq.com/security/application_security/security_signals/attacker_fingerprint/)
        * [Attacker Clustering](https://docs.datadoghq.com/security/application_security/security_signals/attacker_clustering/)
        * [Users Explorer](https://docs.datadoghq.com/security/application_security/security_signals/users_explorer/)
      * [Policies](https://docs.datadoghq.com/security/application_security/policies/)
        * [Custom Rules](https://docs.datadoghq.com/security/application_security/policies/custom_rules/)
        * [OOTB Rules](https://docs.datadoghq.com/security/default_rules/)
        * [In-App WAF Rules](https://docs.datadoghq.com/security/application_security/policies/inapp_waf_rules/)
        * [Tracing Library Configuration](https://docs.datadoghq.com/security/application_security/policies/library_configuration/)
      * [Exploit Prevention](https://docs.datadoghq.com/security/application_security/exploit-prevention/)
      * [WAF Integrations](https://docs.datadoghq.com/security/application_security/waf-integration/)
      * [API Security Inventory](https://docs.datadoghq.com/security/application_security/api-inventory/)
      * [Guides](https://docs.datadoghq.com/security/application_security/guide/)
      * [Troubleshooting](https://docs.datadoghq.com/security/application_security/troubleshooting/)
    * [Workload Protection](https://docs.datadoghq.com/security/workload_protection/)
      * [Setup](https://docs.datadoghq.com/security/workload_protection/setup)
        * [Deploy the Agent](https://docs.datadoghq.com/security/workload_protection/setup/agent)
        * [Workload Protection Agent Variables](https://docs.datadoghq.com/security/workload_protection/setup/agent_variables)
      * [Detection Rules](https://docs.datadoghq.com/security/workload_protection/workload_security_rules)
        * [OOTB Rules](https://docs.datadoghq.com/security/workload_protection/setup/ootb_rules)
        * [Custom Rules](https://docs.datadoghq.com/security/workload_protection/workload_security_rules/custom_rules)
      * [Investigate Security Signals](https://docs.datadoghq.com/security/workload_protection/security_signals)
      * [Investigate Agent Events](https://docs.datadoghq.com/security/workload_protection/investigate_agent_events)
      * [Creating Agent Rule Expressions](https://docs.datadoghq.com/security/workload_protection/agent_expressions)
        * [Writing Custom Rule Expressions](https://docs.datadoghq.com/security/workload_protection/secl_auth_guide)
        * [Linux Syntax](https://docs.datadoghq.com/security/workload_protection/linux_expressions)
        * [Windows Syntax](https://docs.datadoghq.com/security/workload_protection/windows_expressions)
      * [Coverage and Posture Management](https://docs.datadoghq.com/security/workload_protection/inventory)
        * [Hosts and Containers](https://docs.datadoghq.com/security/workload_protection/inventory/hosts_and_containers)
        * [Serverless](https://docs.datadoghq.com/security/workload_protection/inventory/serverless)
        * [Coverage](https://docs.datadoghq.com/security/workload_protection/inventory/coverage_map)
      * [Guides](https://docs.datadoghq.com/security/workload_protection/guide)
      * [Troubleshooting](https://docs.datadoghq.com/security/workload_protection/troubleshooting/threats)
    * [Sensitive Data Scanner](https://docs.datadoghq.com/security/sensitive_data_scanner/)
      * [Setup](https://docs.datadoghq.com/security/sensitive_data_scanner/setup/)
        * [Telemetry Data](https://docs.datadoghq.com/security/sensitive_data_scanner/setup/telemetry_data/)
        * [Cloud Storage](https://docs.datadoghq.com/security/sensitive_data_scanner/setup/cloud_storage/)
      * [Scanning Rules](https://docs.datadoghq.com/security/sensitive_data_scanner/scanning_rules/)
        * [Library Rules](https://docs.datadoghq.com/security/sensitive_data_scanner/scanning_rules/library_rules/)
        * [Custom Rules](https://docs.datadoghq.com/security/sensitive_data_scanner/scanning_rules/custom_rules/)
      * [Guides](https://docs.datadoghq.com/security/sensitive_data_scanner/guide/)
  * [AI Observability ](https://docs.datadoghq.com/api/latest/aws-integration/)
    * [LLM Observability](https://docs.datadoghq.com/llm_observability/)
      * [Quickstart](https://docs.datadoghq.com/llm_observability/quickstart/)
      * [Instrumentation](https://docs.datadoghq.com/llm_observability/instrumentation/)
        * [Automatic](https://docs.datadoghq.com/llm_observability/instrumentation/auto_instrumentation)
        * [SDK Reference](https://docs.datadoghq.com/llm_observability/instrumentation/sdk)
        * [HTTP API](https://docs.datadoghq.com/llm_observability/instrumentation/api)
        * [OpenTelemetry](https://docs.datadoghq.com/llm_observability/instrumentation/otel_instrumentation)
      * [Monitoring](https://docs.datadoghq.com/llm_observability/monitoring)
        * [Querying spans and traces](https://docs.datadoghq.com/llm_observability/monitoring/querying)
        * [Correlate with APM](https://docs.datadoghq.com/llm_observability/monitoring/llm_observability_and_apm)
        * [Cluster Map](https://docs.datadoghq.com/llm_observability/monitoring/cluster_map/)
        * [Agent Monitoring](https://docs.datadoghq.com/llm_observability/monitoring/agent_monitoring)
        * [MCP Clients](https://docs.datadoghq.com/llm_observability/monitoring/mcp_client)
        * [Prompt Tracking](https://docs.datadoghq.com/llm_observability/monitoring/prompt_tracking)
        * [Metrics](https://docs.datadoghq.com/llm_observability/monitoring/metrics)
        * [Cost](https://docs.datadoghq.com/llm_observability/monitoring/cost)
      * [Evaluations](https://docs.datadoghq.com/llm_observability/evaluations/)
        * [Managed Evaluations](https://docs.datadoghq.com/llm_observability/evaluations/managed_evaluations)
        * [Custom LLM-as-a-Judge](https://docs.datadoghq.com/llm_observability/evaluations/custom_llm_as_a_judge_evaluations)
        * [External Evaluations](https://docs.datadoghq.com/llm_observability/evaluations/external_evaluations)
        * [Compatibility](https://docs.datadoghq.com/llm_observability/evaluations/evaluation_compatibility)
        * [Export API](https://docs.datadoghq.com/llm_observability/evaluations/export_api)
      * [Experiments](https://docs.datadoghq.com/llm_observability/experiments)
      * [Data Security and RBAC](https://docs.datadoghq.com/llm_observability/data_security_and_rbac)
      * [Terms and Concepts](https://docs.datadoghq.com/llm_observability/terms/)
      * [Guides](https://docs.datadoghq.com/llm_observability/guide/)
  * [Log Management ](https://docs.datadoghq.com/api/latest/aws-integration/)
    * [Observability Pipelines](https://docs.datadoghq.com/observability_pipelines/)
      * [Configuration](https://docs.datadoghq.com/observability_pipelines/configuration/)
        * [Explore Templates](https://docs.datadoghq.com/observability_pipelines/configuration/explore_templates/)
        * [Set Up Pipelines](https://docs.datadoghq.com/observability_pipelines/configuration/set_up_pipelines/)
        * [Install the Worker](https://docs.datadoghq.com/observability_pipelines/configuration/install_the_worker/)
        * [Live Capture](https://docs.datadoghq.com/observability_pipelines/configuration/live_capture/)
        * [Update Existing Pipelines](https://docs.datadoghq.com/observability_pipelines/configuration/update_existing_pipelines)
        * [Access Control](https://docs.datadoghq.com/observability_pipelines/configuration/access_control)
      * [Sources](https://docs.datadoghq.com/observability_pipelines/sources/)
        * [Akamai DataStream](https://docs.datadoghq.com/observability_pipelines/sources/akamai_datastream/)
        * [Amazon Data Firehose](https://docs.datadoghq.com/observability_pipelines/sources/amazon_data_firehose/)
        * [Amazon S3](https://docs.datadoghq.com/observability_pipelines/sources/amazon_s3/)
        * [Azure Event Hubs](https://docs.datadoghq.com/observability_pipelines/sources/azure_event_hubs/)
        * [Datadog Agent](https://docs.datadoghq.com/observability_pipelines/sources/datadog_agent/)
        * [Datadog Lambda Extension](https://docs.datadoghq.com/observability_pipelines/sources/lambda_extension/)
        * [Datadog Lambda Forwarder](https://docs.datadoghq.com/observability_pipelines/sources/lambda_forwarder/)
        * [Filebeat](https://docs.datadoghq.com/observability_pipelines/sources/filebeat/)
        * [Fluent](https://docs.datadoghq.com/observability_pipelines/sources/fluent/)
        * [Google Pub/Sub](https://docs.datadoghq.com/observability_pipelines/sources/google_pubsub/)
        * [HTTP Client](https://docs.datadoghq.com/observability_pipelines/sources/http_client/)
        * [HTTP Server](https://docs.datadoghq.com/observability_pipelines/sources/http_server/)
        * [OpenTelemetry](https://docs.datadoghq.com/observability_pipelines/sources/opentelemetry/)
        * [Kafka](https://docs.datadoghq.com/observability_pipelines/sources/kafka/)
        * [Logstash](https://docs.datadoghq.com/observability_pipelines/sources/logstash/)
        * [Socket](https://docs.datadoghq.com/observability_pipelines/sources/socket/)
        * [Splunk HEC](https://docs.datadoghq.com/observability_pipelines/sources/splunk_hec/)
        * [Splunk TCP](https://docs.datadoghq.com/observability_pipelines/sources/splunk_tcp/)
        * [Sumo Logic Hosted Collector](https://docs.datadoghq.com/observability_pipelines/sources/sumo_logic/)
        * [Syslog](https://docs.datadoghq.com/observability_pipelines/sources/syslog/)
      * [Processors](https://docs.datadoghq.com/observability_pipelines/processors/)
        * [Add Environment Variables](https://docs.datadoghq.com/observability_pipelines/processors/add_environment_variables)
        * [Add hostname](https://docs.datadoghq.com/observability_pipelines/processors/add_hostname)
        * [Custom Processor](https://docs.datadoghq.com/observability_pipelines/processors/custom_processor)
        * [Deduplicate](https://docs.datadoghq.com/observability_pipelines/processors/dedupe)
        * [Edit fields](https://docs.datadoghq.com/observability_pipelines/processors/edit_fields)
        * [Enrichment Table](https://docs.datadoghq.com/observability_pipelines/processors/enrichment_table)
        * [Filter](https://docs.datadoghq.com/observability_pipelines/processors/filter)
        * [Generate Metrics](https://docs.datadoghq.com/observability_pipelines/processors/generate_metrics)
        * [Grok Parser](https://docs.datadoghq.com/observability_pipelines/processors/grok_parser)
        * [Parse JSON](https://docs.datadoghq.com/observability_pipelines/processors/parse_json)
        * [Parse XML](https://docs.datadoghq.com/observability_pipelines/processors/parse_xml)
        * [Quota](https://docs.datadoghq.com/observability_pipelines/processors/quota)
        * [Reduce](https://docs.datadoghq.com/observability_pipelines/processors/reduce)
        * [Remap to OCSF](https://docs.datadoghq.com/observability_pipelines/processors/remap_ocsf)
        * [Sample](https://docs.datadoghq.com/observability_pipelines/processors/sample)
        * [Sensitive Data Scanner](https://docs.datadoghq.com/observability_pipelines/processors/sensitive_data_scanner)
        * [Split Array](https://docs.datadoghq.com/observability_pipelines/processors/split_array)
        * [Tag Control](https://docs.datadoghq.com/observability_pipelines/processors/tag_control/logs/)
        * [Throttle](https://docs.datadoghq.com/observability_pipelines/processors/throttle)
      * [Destinations](https://docs.datadoghq.com/observability_pipelines/destinations/)
        * [Amazon OpenSearch](https://docs.datadoghq.com/observability_pipelines/destinations/amazon_opensearch/)
        * [Amazon S3](https://docs.datadoghq.com/observability_pipelines/destinations/amazon_s3/)
        * [Amazon Security Lake](https://docs.datadoghq.com/observability_pipelines/destinations/amazon_security_lake/)
        * [Azure Storage](https://docs.datadoghq.com/observability_pipelines/destinations/azure_storage/)
        * [CrowdStrike NG-SIEM](https://docs.datadoghq.com/observability_pipelines/destinations/crowdstrike_ng_siem/)
        * [Datadog CloudPrem](https://docs.datadoghq.com/observability_pipelines/destinations/cloudprem/)
        * [Datadog Logs](https://docs.datadoghq.com/observability_pipelines/destinations/datadog_logs/)
        * [Datadog Metrics](https://docs.datadoghq.com/observability_pipelines/destinations/datadog_metrics/)
        * [Elasticsearch](https://docs.datadoghq.com/observability_pipelines/destinations/elasticsearch/)
        * [Google Cloud Storage](https://docs.datadoghq.com/observability_pipelines/destinations/google_cloud_storage/)
        * [Google Pub/Sub](https://docs.datadoghq.com/observability_pipelines/destinations/google_pubsub/)
        * [Google SecOps](https://docs.datadoghq.com/observability_pipelines/destinations/google_secops/)
        * [HTTP Client](https://docs.datadoghq.com/observability_pipelines/destinations/http_client/)
        * [Kafka](https://docs.datadoghq.com/observability_pipelines/destinations/kafka/)
        * [Microsoft Sentinel](https://docs.datadoghq.com/observability_pipelines/destinations/microsoft_sentinel/)
        * [New Relic](https://docs.datadoghq.com/observability_pipelines/destinations/new_relic/)
        * [OpenSearch](https://docs.datadoghq.com/observability_pipelines/destinations/opensearch)
        * [SentinelOne](https://docs.datadoghq.com/observability_pipelines/destinations/sentinelone)
        * [Socket](https://docs.datadoghq.com/observability_pipelines/destinations/socket)
        * [Splunk HEC](https://docs.datadoghq.com/observability_pipelines/destinations/splunk_hec)
        * [Sumo Logic Hosted Collector](https://docs.datadoghq.com/observability_pipelines/destinations/sumo_logic_hosted_collector)
        * [Syslog](https://docs.datadoghq.com/observability_pipelines/destinations/syslog)
      * [Packs](https://docs.datadoghq.com/observability_pipelines/packs/)
        * [Akamai CDN](https://docs.datadoghq.com/observability_pipelines/packs/akamai_cdn/)
        * [Amazon CloudFront](https://docs.datadoghq.com/observability_pipelines/packs/amazon_cloudfront/)
        * [Amazon VPC Flow Logs](https://docs.datadoghq.com/observability_pipelines/packs/amazon_vpc_flow_logs/)
        * [AWS CloudTrail](https://docs.datadoghq.com/observability_pipelines/packs/aws_cloudtrail/)
        * [Cisco ASA](https://docs.datadoghq.com/observability_pipelines/packs/cisco_asa/)
        * [Cloudflare](https://docs.datadoghq.com/observability_pipelines/packs/cloudflare/)
        * [F5](https://docs.datadoghq.com/observability_pipelines/packs/f5/)
        * [Fastly](https://docs.datadoghq.com/observability_pipelines/packs/fastly/)
        * [Fortinet Firewall](https://docs.datadoghq.com/observability_pipelines/packs/fortinet_firewall/)
        * [HAProxy Ingress](https://docs.datadoghq.com/observability_pipelines/packs/haproxy_ingress/)
        * [Istio Proxy](https://docs.datadoghq.com/observability_pipelines/packs/istio_proxy/)
        * [Netskope](https://docs.datadoghq.com/observability_pipelines/packs/netskope/)
        * [NGINX](https://docs.datadoghq.com/observability_pipelines/packs/nginx/)
        * [Okta](https://docs.datadoghq.com/observability_pipelines/packs/okta/)
        * [Palo Alto Firewall](https://docs.datadoghq.com/observability_pipelines/packs/palo_alto_firewall/)
        * [Windows XML](https://docs.datadoghq.com/observability_pipelines/packs/windows_xml/)
        * [ZScaler ZIA DNS](https://docs.datadoghq.com/observability_pipelines/packs/zscaler_zia_dns/)
        * [Zscaler ZIA Firewall](https://docs.datadoghq.com/observability_pipelines/packs/zscaler_zia_firewall/)
        * [Zscaler ZIA Tunnel](https://docs.datadoghq.com/observability_pipelines/packs/zscaler_zia_tunnel/)
        * [Zscaler ZIA Web Logs](https://docs.datadoghq.com/observability_pipelines/packs/zscaler_zia_web_logs/)
      * [Search Syntax](https://docs.datadoghq.com/observability_pipelines/search_syntax/logs/)
      * [Scaling and Performance](https://docs.datadoghq.com/observability_pipelines/scaling_and_performance/)
        * [Handling Load and Backpressure](https://docs.datadoghq.com/observability_pipelines/scaling_and_performance/handling_load_and_backpressure/)
        * [Scaling Best Practices](https://docs.datadoghq.com/observability_pipelines/scaling_and_performance/best_practices_for_scaling_observability_pipelines/)
      * [Monitoring and Troubleshooting](https://docs.datadoghq.com/observability_pipelines/monitoring_and_troubleshooting/)
        * [Worker CLI Commands](https://docs.datadoghq.com/observability_pipelines/monitoring_and_troubleshooting/worker_cli_commands/)
        * [Monitoring Pipelines](https://docs.datadoghq.com/observability_pipelines/monitoring_and_troubleshooting/monitoring_pipelines/)
        * [Pipeline Usage Metrics](https://docs.datadoghq.com/observability_pipelines/monitoring_and_troubleshooting/pipeline_usage_metrics/)
        * [Troubleshooting](https://docs.datadoghq.com/observability_pipelines/monitoring_and_troubleshooting/troubleshooting/)
      * [Guides and Resources](https://docs.datadoghq.com/observability_pipelines/guide/)
        * [Upgrade Worker Guide](https://docs.datadoghq.com/observability_pipelines/guide/upgrade_worker/)
    * [Log Management](https://docs.datadoghq.com/logs/)
      * [Log Collection & Integrations](https://docs.datadoghq.com/logs/log_collection/)
        * [Browser](https://docs.datadoghq.com/logs/log_collection/javascript/)
        * [Android](https://docs.datadoghq.com/logs/log_collection/android/)
        * [iOS](https://docs.datadoghq.com/logs/log_collection/ios/)
        * [Flutter](https://docs.datadoghq.com/logs/log_collection/flutter/)
        * [React Native](https://docs.datadoghq.com/logs/log_collection/reactnative/)
        * [Roku](https://docs.datadoghq.com/logs/log_collection/roku/)
        * [Kotlin Multiplatform](https://docs.datadoghq.com/logs/log_collection/kotlin_multiplatform/)
        * [C#](https://docs.datadoghq.com/logs/log_collection/csharp/)
        * [Go](https://docs.datadoghq.com/logs/log_collection/go/)
        * [Java](https://docs.datadoghq.com/logs/log_collection/java/)
        * [Node.js](https://docs.datadoghq.com/logs/log_collection/nodejs/)
        * [PHP](https://docs.datadoghq.com/logs/log_collection/php/)
        * [Python](https://docs.datadoghq.com/logs/log_collection/python/)
        * [Ruby](https://docs.datadoghq.com/logs/log_collection/ruby/)
        * [OpenTelemetry](https://docs.datadoghq.com/opentelemetry/otel_logs/)
        * [Agent Integrations](https://docs.datadoghq.com/logs/log_collection/agent_checks/)
        * [Other Integrations](https://docs.datadoghq.com/integrations/#cat-log-collection)
      * [Log Configuration](https://docs.datadoghq.com/logs/log_configuration/)
        * [Pipelines](https://docs.datadoghq.com/logs/log_configuration/pipelines/)
        * [Processors](https://docs.datadoghq.com/logs/log_configuration/processors/)
        * [Parsing](https://docs.datadoghq.com/logs/log_configuration/parsing/)
        * [Pipeline Scanner](https://docs.datadoghq.com/logs/log_configuration/pipeline_scanner/)
        * [Attributes and Aliasing](https://docs.datadoghq.com/logs/log_configuration/attributes_naming_convention/)
        * [Generate Metrics](https://docs.datadoghq.com/logs/log_configuration/logs_to_metrics/)
        * [Indexes](https://docs.datadoghq.com/logs/log_configuration/indexes)
        * [Flex Logs](https://docs.datadoghq.com/logs/log_configuration/flex_logs/)
        * [Archives](https://docs.datadoghq.com/logs/log_configuration/archives/)
        * [Rehydrate from Archives](https://docs.datadoghq.com/logs/log_configuration/rehydrating)
        * [Archive Search](https://docs.datadoghq.com/logs/log_configuration/archive_search)
        * [Forwarding](https://docs.datadoghq.com/logs/log_configuration/forwarding_custom_destinations/)
      * [Log Explorer](https://docs.datadoghq.com/logs/explorer/)
        * [Live Tail](https://docs.datadoghq.com/logs/explorer/live_tail/)
        * [Search Logs](https://docs.datadoghq.com/logs/explorer/search/)
        * [Search Syntax](https://docs.datadoghq.com/logs/explorer/search_syntax/)
        * [Advanced Search](https://docs.datadoghq.com/logs/explorer/advanced_search)
        * [Facets](https://docs.datadoghq.com/logs/explorer/facets/)
        * [Calculated Fields](https://docs.datadoghq.com/logs/explorer/calculated_fields/)
        * [Analytics](https://docs.datadoghq.com/logs/explorer/analytics/)
        * [Patterns](https://docs.datadoghq.com/logs/explorer/analytics/patterns/)
        * [Transactions](https://docs.datadoghq.com/logs/explorer/analytics/transactions/)
        * [Visualize](https://docs.datadoghq.com/logs/explorer/visualize/)
        * [Log Side Panel](https://docs.datadoghq.com/logs/explorer/side_panel/)
        * [Export](https://docs.datadoghq.com/logs/explorer/export/)
        * [Watchdog Insights for Logs](https://docs.datadoghq.com/logs/explorer/watchdog_insights/)
        * [Saved Views](https://docs.datadoghq.com/logs/explorer/saved_views/)
      * [Error Tracking](https://docs.datadoghq.com/logs/error_tracking/)
        * [Error Tracking Explorer](https://docs.datadoghq.com/logs/error_tracking/explorer)
        * [Issue States](https://docs.datadoghq.com/logs/error_tracking/issue_states)
        * [Track Browser and Mobile Errors](https://docs.datadoghq.com/logs/error_tracking/browser_and_mobile)
        * [Track Backend Errors](https://docs.datadoghq.com/logs/error_tracking/backend)
        * [Error Grouping](https://docs.datadoghq.com/logs/error_tracking/error_grouping)
        * [Manage Data Collection](https://docs.datadoghq.com/logs/error_tracking/manage_data_collection)
        * [Dynamic Sampling](https://docs.datadoghq.com/logs/error_tracking/dynamic_sampling)
        * [Monitors](https://docs.datadoghq.com/logs/error_tracking/monitors)
        * [Identify Suspect Commits](https://docs.datadoghq.com/logs/error_tracking/suspect_commits)
        * [Troubleshooting](https://docs.datadoghq.com/error_tracking/troubleshooting)
      * [Reports](https://docs.datadoghq.com/logs/reports/)
      * [Guides](https://docs.datadoghq.com/logs/guide/)
      * [Data Security](https://docs.datadoghq.com/data_security/logs/)
      * [Troubleshooting](https://docs.datadoghq.com/logs/troubleshooting)
        * [Live Tail](https://docs.datadoghq.com/logs/troubleshooting/live_tail)
    * [CloudPrem](https://docs.datadoghq.com/cloudprem/)
      * [Quickstart](https://docs.datadoghq.com/cloudprem/quickstart)
      * [Architecture](https://docs.datadoghq.com/cloudprem/architecture)
      * [Installation](https://docs.datadoghq.com/cloudprem/install)
        * [AWS EKS](https://docs.datadoghq.com/cloudprem/install/aws_eks)
        * [Azure AKS](https://docs.datadoghq.com/cloudprem/install/azure_aks)
        * [Install Locally with Docker](https://docs.datadoghq.com/cloudprem/install/docker)
      * [Log Ingestion](https://docs.datadoghq.com/cloudprem/ingest_logs/)
        * [Datadog Agent](https://docs.datadoghq.com/cloudprem/ingest_logs/datadog_agent)
        * [Observability Pipelines](https://docs.datadoghq.com/cloudprem/ingest_logs/observability_pipelines)
        * [REST API](https://docs.datadoghq.com/cloudprem/ingest_logs/rest_api/)
      * [Configuration](https://docs.datadoghq.com/cloudprem/configure/)
        * [Datadog Account](https://docs.datadoghq.com/cloudprem/configure/datadog_account)
        * [AWS Configuration](https://docs.datadoghq.com/cloudprem/configure/aws_config)
        * [Azure Configuration](https://docs.datadoghq.com/cloudprem/configure/azure_config)
        * [Cluster Sizing](https://docs.datadoghq.com/cloudprem/configure/cluster_sizing)
        * [Ingress](https://docs.datadoghq.com/cloudprem/configure/ingress)
        * [Processing](https://docs.datadoghq.com/cloudprem/configure/processing)
        * [Reverse Connection](https://docs.datadoghq.com/cloudprem/configure/reverse_connection)
      * [Management](https://docs.datadoghq.com/cloudprem/manage/)
      * [Supported Features](https://docs.datadoghq.com/cloudprem/supported_features/)
      * [Troubleshooting](https://docs.datadoghq.com/cloudprem/troubleshooting/)
  * [Administration ](https://docs.datadoghq.com/api/latest/aws-integration/)
    * [Account Management](https://docs.datadoghq.com/account_management/)
      * [Switching Between Orgs](https://docs.datadoghq.com/account_management/org_switching/)
      * [Organization Settings](https://docs.datadoghq.com/account_management/org_settings/)
        * [User Management](https://docs.datadoghq.com/account_management/users/)
        * [Login Methods](https://docs.datadoghq.com/account_management/login_methods/)
        * [OAuth Apps](https://docs.datadoghq.com/account_management/org_settings/oauth_apps)
        * [Custom Organization Landing Page](https://docs.datadoghq.com/account_management/org_settings/custom_landing)
        * [Service Accounts](https://docs.datadoghq.com/account_management/org_settings/service_accounts)
        * [IP Allowlist](https://docs.datadoghq.com/account_management/org_settings/ip_allowlist)
        * [Domain Allowlist](https://docs.datadoghq.com/account_management/org_settings/domain_allowlist)
        * [Cross-Organization Visibility](https://docs.datadoghq.com/account_management/org_settings/cross_org_visibility)
      * [Access Control](https://docs.datadoghq.com/account_management/rbac/)
        * [Granular Access](https://docs.datadoghq.com/account_management/rbac/granular_access)
        * [Permissions](https://docs.datadoghq.com/account_management/rbac/permissions)
        * [Data Access](https://docs.datadoghq.com/account_management/rbac/data_access)
      * [SSO with SAML](https://docs.datadoghq.com/account_management/saml/)
        * [Configuring SAML](https://docs.datadoghq.com/account_management/saml/configuration/)
        * [User Group Mapping](https://docs.datadoghq.com/account_management/saml/mapping/)
        * [Active Directory](https://docs.datadoghq.com/account_management/saml/activedirectory/)
        * [Auth0](https://docs.datadoghq.com/account_management/saml/auth0/)
        * [Entra ID](https://docs.datadoghq.com/account_management/saml/entra/)
        * [Google](https://docs.datadoghq.com/account_management/saml/google/)
        * [LastPass](https://docs.datadoghq.com/account_management/saml/lastpass/)
        * [Okta](https://docs.datadoghq.com/account_management/saml/okta/)
        * [SafeNet](https://docs.datadoghq.com/account_management/saml/safenet/)
        * [Troubleshooting](https://docs.datadoghq.com/account_management/saml/troubleshooting/)
      * [SCIM](https://docs.datadoghq.com/account_management/scim/)
        * [Okta](https://docs.datadoghq.com/account_management/scim/okta)
        * [Microsoft Entra ID](https://docs.datadoghq.com/account_management/scim/entra)
      * [API and Application Keys](https://docs.datadoghq.com/account_management/api-app-keys/)
      * [Teams](https://docs.datadoghq.com/account_management/teams/)
        * [Team Management](https://docs.datadoghq.com/account_management/teams/manage/)
        * [Provision with GitHub](https://docs.datadoghq.com/account_management/teams/github/)
      * [Governance Console](https://docs.datadoghq.com/account_management/governance_console/)
      * [Multi-Factor Authentication](https://docs.datadoghq.com/account_management/multi-factor_authentication/)
      * [Audit Trail](https://docs.datadoghq.com/account_management/audit_trail/)
        * [Events](https://docs.datadoghq.com/account_management/audit_trail/events/)
        * [Forwarding](https://docs.datadoghq.com/account_management/audit_trail/forwarding_audit_events/)
        * [Guides](https://docs.datadoghq.com/account_management/audit_trail/guides/)
      * [Safety Center](https://docs.datadoghq.com/account_management/safety_center/)
      * [Plan and Usage](https://docs.datadoghq.com/account_management/plan_and_usage/)
        * [Cost Details](https://docs.datadoghq.com/account_management/plan_and_usage/cost_details/)
        * [Usage Details](https://docs.datadoghq.com/account_management/plan_and_usage/usage_details/)
      * [Billing](https://docs.datadoghq.com/account_management/billing/)
        * [Pricing](https://docs.datadoghq.com/account_management/billing/pricing)
        * [Credit Card](https://docs.datadoghq.com/account_management/billing/credit_card/)
        * [Product Allotments](https://docs.datadoghq.com/account_management/billing/product_allotments)
        * [Usage Metrics](https://docs.datadoghq.com/account_management/billing/usage_metrics/)
        * [Usage Attribution](https://docs.datadoghq.com/account_management/billing/usage_attribution/)
        * [Custom Metrics](https://docs.datadoghq.com/account_management/billing/custom_metrics/)
        * [Containers](https://docs.datadoghq.com/account_management/billing/containers)
        * [Log Management](https://docs.datadoghq.com/account_management/billing/log_management/)
        * [APM](https://docs.datadoghq.com/account_management/billing/apm_tracing_profiler/)
        * [Serverless](https://docs.datadoghq.com/account_management/billing/serverless/)
        * [Real User Monitoring](https://docs.datadoghq.com/account_management/billing/rum/)
        * [CI Visibility](https://docs.datadoghq.com/account_management/billing/ci_visibility/)
        * [Incident Response](https://docs.datadoghq.com/account_management/billing/incident_response/)
        * [AWS Integration](https://docs.datadoghq.com/account_management/billing/aws/)
        * [Azure Integration](https://docs.datadoghq.com/account_management/billing/azure/)
        * [Google Cloud Integration](https://docs.datadoghq.com/account_management/billing/google_cloud/)
        * [Alibaba Integration](https://docs.datadoghq.com/account_management/billing/alibaba/)
        * [vSphere Integration](https://docs.datadoghq.com/account_management/billing/vsphere/)
        * [Workflow Automation](https://docs.datadoghq.com/account_management/billing/workflow_automation/)
      * [Multi-org Accounts](https://docs.datadoghq.com/account_management/multi_organization/)
      * [Guides](https://docs.datadoghq.com/account_management/guide/)
      * [Cloud-based Authentication](https://docs.datadoghq.com/account_management/cloud_provider_authentication/)
    * [Data Security](https://docs.datadoghq.com/data_security/)
      * [Agent](https://docs.datadoghq.com/data_security/agent/)
      * [Cloud SIEM](https://docs.datadoghq.com/data_security/cloud_siem/)
      * [Kubernetes](https://docs.datadoghq.com/data_security/kubernetes)
      * [Log Management](https://docs.datadoghq.com/data_security/logs/)
      * [Real User Monitoring](https://docs.datadoghq.com/data_security/real_user_monitoring/)
      * [Synthetic Monitoring](https://docs.datadoghq.com/data_security/synthetics/)
      * [Tracing](https://docs.datadoghq.com/tracing/configure_data_security/)
      * [PCI Compliance](https://docs.datadoghq.com/data_security/pci_compliance/)
      * [HIPAA Compliance](https://docs.datadoghq.com/data_security/hipaa_compliance/)
      * [Data Retention Periods](https://docs.datadoghq.com/data_security/data_retention_periods/)
      * [Guides](https://docs.datadoghq.com/data_security/guide/)
    * [Help](https://docs.datadoghq.com/help/)


[Datadog Docs API](https://docs.datadoghq.com/)
search
  * [Overview](https://docs.datadoghq.com/api/latest/)
    * [Using the API](https://docs.datadoghq.com/api/latest/using-the-api/)
    * [Authorization Scopes](https://docs.datadoghq.com/api/latest/scopes/)
    * [Rate Limits](https://docs.datadoghq.com/api/latest/rate-limits/)
  * [Action Connection](https://docs.datadoghq.com/api/latest/action-connection/)
    * [Get an existing Action Connection](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-existing-action-connection)
    * [Create a new Action Connection](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-new-action-connection)
    * [Update an existing Action Connection](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-existing-action-connection)
    * [Delete an existing Action Connection](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-existing-action-connection)
    * [Register a new App Key](https://docs.datadoghq.com/api/latest/aws-integration/#register-a-new-app-key)
    * [List App Key Registrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-app-key-registrations)
    * [Unregister an App Key](https://docs.datadoghq.com/api/latest/aws-integration/#unregister-an-app-key)
    * [Get an existing App Key Registration](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-existing-app-key-registration)
  * [Actions Datastores](https://docs.datadoghq.com/api/latest/actions-datastores/)
    * [List datastores](https://docs.datadoghq.com/api/latest/aws-integration/#list-datastores)
    * [Create datastore](https://docs.datadoghq.com/api/latest/aws-integration/#create-datastore)
    * [Get datastore](https://docs.datadoghq.com/api/latest/aws-integration/#get-datastore)
    * [Update datastore](https://docs.datadoghq.com/api/latest/aws-integration/#update-datastore)
    * [Delete datastore](https://docs.datadoghq.com/api/latest/aws-integration/#delete-datastore)
    * [List datastore items](https://docs.datadoghq.com/api/latest/aws-integration/#list-datastore-items)
    * [Delete datastore item](https://docs.datadoghq.com/api/latest/aws-integration/#delete-datastore-item)
    * [Update datastore item](https://docs.datadoghq.com/api/latest/aws-integration/#update-datastore-item)
    * [Bulk write datastore items](https://docs.datadoghq.com/api/latest/aws-integration/#bulk-write-datastore-items)
    * [Bulk delete datastore items](https://docs.datadoghq.com/api/latest/aws-integration/#bulk-delete-datastore-items)
  * [Agentless Scanning](https://docs.datadoghq.com/api/latest/agentless-scanning/)
    * [List AWS scan options](https://docs.datadoghq.com/api/latest/aws-integration/#list-aws-scan-options)
    * [Create AWS scan options](https://docs.datadoghq.com/api/latest/aws-integration/#create-aws-scan-options)
    * [Get AWS scan options](https://docs.datadoghq.com/api/latest/aws-integration/#get-aws-scan-options)
    * [Update AWS scan options](https://docs.datadoghq.com/api/latest/aws-integration/#update-aws-scan-options)
    * [Delete AWS scan options](https://docs.datadoghq.com/api/latest/aws-integration/#delete-aws-scan-options)
    * [List Azure scan options](https://docs.datadoghq.com/api/latest/aws-integration/#list-azure-scan-options)
    * [Create Azure scan options](https://docs.datadoghq.com/api/latest/aws-integration/#create-azure-scan-options)
    * [Get Azure scan options](https://docs.datadoghq.com/api/latest/aws-integration/#get-azure-scan-options)
    * [Update Azure scan options](https://docs.datadoghq.com/api/latest/aws-integration/#update-azure-scan-options)
    * [Delete Azure scan options](https://docs.datadoghq.com/api/latest/aws-integration/#delete-azure-scan-options)
    * [List GCP scan options](https://docs.datadoghq.com/api/latest/aws-integration/#list-gcp-scan-options)
    * [Create GCP scan options](https://docs.datadoghq.com/api/latest/aws-integration/#create-gcp-scan-options)
    * [Get GCP scan options](https://docs.datadoghq.com/api/latest/aws-integration/#get-gcp-scan-options)
    * [Update GCP scan options](https://docs.datadoghq.com/api/latest/aws-integration/#update-gcp-scan-options)
    * [Delete GCP scan options](https://docs.datadoghq.com/api/latest/aws-integration/#delete-gcp-scan-options)
    * [List AWS on demand tasks](https://docs.datadoghq.com/api/latest/aws-integration/#list-aws-on-demand-tasks)
    * [Create AWS on demand task](https://docs.datadoghq.com/api/latest/aws-integration/#create-aws-on-demand-task)
    * [Get AWS on demand task](https://docs.datadoghq.com/api/latest/aws-integration/#get-aws-on-demand-task)
  * [API Management](https://docs.datadoghq.com/api/latest/api-management/)
    * [Create a new API](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-new-api)
    * [Update an API](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-api)
    * [Get an API](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-api)
    * [List APIs](https://docs.datadoghq.com/api/latest/aws-integration/#list-apis)
    * [Delete an API](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-api)
  * [APM](https://docs.datadoghq.com/api/latest/apm/)
    * [Get service list](https://docs.datadoghq.com/api/latest/aws-integration/#get-service-list)
  * [APM Retention Filters](https://docs.datadoghq.com/api/latest/apm-retention-filters/)
    * [List all APM retention filters](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-apm-retention-filters)
    * [Create a retention filter](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-retention-filter)
    * [Get a given APM retention filter](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-given-apm-retention-filter)
    * [Update a retention filter](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-retention-filter)
    * [Delete a retention filter](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-retention-filter)
    * [Re-order retention filters](https://docs.datadoghq.com/api/latest/aws-integration/#re-order-retention-filters)
  * [App Builder](https://docs.datadoghq.com/api/latest/app-builder/)
    * [List Apps](https://docs.datadoghq.com/api/latest/aws-integration/#list-apps)
    * [Create App](https://docs.datadoghq.com/api/latest/aws-integration/#create-app)
    * [Delete Multiple Apps](https://docs.datadoghq.com/api/latest/aws-integration/#delete-multiple-apps)
    * [Get App](https://docs.datadoghq.com/api/latest/aws-integration/#get-app)
    * [Update App](https://docs.datadoghq.com/api/latest/aws-integration/#update-app)
    * [Delete App](https://docs.datadoghq.com/api/latest/aws-integration/#delete-app)
    * [Publish App](https://docs.datadoghq.com/api/latest/aws-integration/#publish-app)
    * [Unpublish App](https://docs.datadoghq.com/api/latest/aws-integration/#unpublish-app)
  * [Application Security](https://docs.datadoghq.com/api/latest/application-security/)
    * [Get a WAF exclusion filter](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-waf-exclusion-filter)
    * [Create a WAF exclusion filter](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-waf-exclusion-filter)
    * [List all WAF exclusion filters](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-waf-exclusion-filters)
    * [Update a WAF exclusion filter](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-waf-exclusion-filter)
    * [Delete a WAF exclusion filter](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-waf-exclusion-filter)
    * [Get a WAF custom rule](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-waf-custom-rule)
    * [Create a WAF custom rule](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-waf-custom-rule)
    * [List all WAF custom rules](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-waf-custom-rules)
    * [Update a WAF Custom Rule](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-waf-custom-rule)
    * [Delete a WAF Custom Rule](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-waf-custom-rule)
  * [Audit](https://docs.datadoghq.com/api/latest/audit/)
    * [Search Audit Logs events](https://docs.datadoghq.com/api/latest/aws-integration/#search-audit-logs-events)
    * [Get a list of Audit Logs events](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-audit-logs-events)
  * [Authentication](https://docs.datadoghq.com/api/latest/authentication/)
    * [Validate API key](https://docs.datadoghq.com/api/latest/aws-integration/#validate-api-key)
  * [AuthN Mappings](https://docs.datadoghq.com/api/latest/authn-mappings/)
    * [Get an AuthN Mapping by UUID](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-authn-mapping-by-uuid)
    * [Edit an AuthN Mapping](https://docs.datadoghq.com/api/latest/aws-integration/#edit-an-authn-mapping)
    * [Delete an AuthN Mapping](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-authn-mapping)
    * [List all AuthN Mappings](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-authn-mappings)
    * [Create an AuthN Mapping](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-authn-mapping)
  * [AWS Integration](https://docs.datadoghq.com/api/latest/aws-integration/)
    * [Get all AWS tag filters](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-aws-tag-filters)
    * [List available namespaces](https://docs.datadoghq.com/api/latest/aws-integration/#list-available-namespaces)
    * [Set an AWS tag filter](https://docs.datadoghq.com/api/latest/aws-integration/#set-an-aws-tag-filter)
    * [Delete a tag filtering entry](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-tag-filtering-entry)
    * [Get an AWS integration by config ID](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-aws-integration-by-config-id)
    * [Generate a new external ID](https://docs.datadoghq.com/api/latest/aws-integration/#generate-a-new-external-id)
    * [List namespace rules](https://docs.datadoghq.com/api/latest/aws-integration/#list-namespace-rules)
    * [Get AWS integration IAM permissions](https://docs.datadoghq.com/api/latest/aws-integration/#get-aws-integration-iam-permissions)
    * [List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations)
    * [Delete an AWS integration](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-aws-integration)
    * [Get AWS integration standard IAM permissions](https://docs.datadoghq.com/api/latest/aws-integration/#get-aws-integration-standard-iam-permissions)
    * [Create an AWS integration](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-aws-integration)
    * [Get resource collection IAM permissions](https://docs.datadoghq.com/api/latest/aws-integration/#get-resource-collection-iam-permissions)
    * [Update an AWS integration](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-aws-integration)
    * [Get all Amazon EventBridge sources](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-amazon-eventbridge-sources)
    * [Create an Amazon EventBridge source](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-amazon-eventbridge-source)
    * [Delete an Amazon EventBridge source](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-amazon-eventbridge-source)
  * [AWS Logs Integration](https://docs.datadoghq.com/api/latest/aws-logs-integration/)
    * [List all AWS Logs integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-logs-integrations)
    * [Add AWS Log Lambda ARN](https://docs.datadoghq.com/api/latest/aws-integration/#add-aws-log-lambda-arn)
    * [Delete an AWS Logs integration](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-aws-logs-integration)
    * [Get list of AWS log ready services](https://docs.datadoghq.com/api/latest/aws-integration/#get-list-of-aws-log-ready-services)
    * [Enable an AWS Logs integration](https://docs.datadoghq.com/api/latest/aws-integration/#enable-an-aws-logs-integration)
    * [Check permissions for log services](https://docs.datadoghq.com/api/latest/aws-integration/#check-permissions-for-log-services)
    * [Check that an AWS Lambda Function exists](https://docs.datadoghq.com/api/latest/aws-integration/#check-that-an-aws-lambda-function-exists)
  * [Azure Integration](https://docs.datadoghq.com/api/latest/azure-integration/)
    * [List all Azure integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-azure-integrations)
    * [Create an Azure integration](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-azure-integration)
    * [Delete an Azure integration](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-azure-integration)
    * [Update an Azure integration](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-azure-integration)
    * [Update Azure integration host filters](https://docs.datadoghq.com/api/latest/aws-integration/#update-azure-integration-host-filters)
  * [Case Management](https://docs.datadoghq.com/api/latest/case-management/)
    * [Create a project](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-project)
    * [Search cases](https://docs.datadoghq.com/api/latest/aws-integration/#search-cases)
    * [Create a case](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-case)
    * [Get all projects](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-projects)
    * [Get the details of a case](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-details-of-a-case)
    * [Get the details of a project](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-details-of-a-project)
    * [Remove a project](https://docs.datadoghq.com/api/latest/aws-integration/#remove-a-project)
    * [Update case description](https://docs.datadoghq.com/api/latest/aws-integration/#update-case-description)
    * [Update case status](https://docs.datadoghq.com/api/latest/aws-integration/#update-case-status)
    * [Update case title](https://docs.datadoghq.com/api/latest/aws-integration/#update-case-title)
    * [Update case priority](https://docs.datadoghq.com/api/latest/aws-integration/#update-case-priority)
    * [Assign case](https://docs.datadoghq.com/api/latest/aws-integration/#assign-case)
    * [Unassign case](https://docs.datadoghq.com/api/latest/aws-integration/#unassign-case)
    * [Archive case](https://docs.datadoghq.com/api/latest/aws-integration/#archive-case)
    * [Unarchive case](https://docs.datadoghq.com/api/latest/aws-integration/#unarchive-case)
    * [Update case attributes](https://docs.datadoghq.com/api/latest/aws-integration/#update-case-attributes)
    * [Comment case](https://docs.datadoghq.com/api/latest/aws-integration/#comment-case)
    * [Delete case comment](https://docs.datadoghq.com/api/latest/aws-integration/#delete-case-comment)
    * [Update case custom attribute](https://docs.datadoghq.com/api/latest/aws-integration/#update-case-custom-attribute)
    * [Delete custom attribute from case](https://docs.datadoghq.com/api/latest/aws-integration/#delete-custom-attribute-from-case)
  * [Case Management Attribute](https://docs.datadoghq.com/api/latest/case-management-attribute/)
    * [Get all custom attributes](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-custom-attributes)
    * [Get all custom attributes config of case type](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-custom-attributes-config-of-case-type)
    * [Create custom attribute config for a case type](https://docs.datadoghq.com/api/latest/aws-integration/#create-custom-attribute-config-for-a-case-type)
    * [Delete custom attributes config](https://docs.datadoghq.com/api/latest/aws-integration/#delete-custom-attributes-config)
  * [Case Management Type](https://docs.datadoghq.com/api/latest/case-management-type/)
    * [Get all case types](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-case-types)
    * [Create a case type](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-case-type)
    * [Delete a case type](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-case-type)
  * [CI Visibility Pipelines](https://docs.datadoghq.com/api/latest/ci-visibility-pipelines/)
    * [Send pipeline event](https://docs.datadoghq.com/api/latest/aws-integration/#send-pipeline-event)
    * [Get a list of pipelines events](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-pipelines-events)
    * [Search pipelines events](https://docs.datadoghq.com/api/latest/aws-integration/#search-pipelines-events)
    * [Aggregate pipelines events](https://docs.datadoghq.com/api/latest/aws-integration/#aggregate-pipelines-events)
  * [CI Visibility Tests](https://docs.datadoghq.com/api/latest/ci-visibility-tests/)
    * [Get a list of tests events](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-tests-events)
    * [Search tests events](https://docs.datadoghq.com/api/latest/aws-integration/#search-tests-events)
    * [Aggregate tests events](https://docs.datadoghq.com/api/latest/aws-integration/#aggregate-tests-events)
  * [Cloud Cost Management](https://docs.datadoghq.com/api/latest/cloud-cost-management/)
    * [List Cloud Cost Management AWS CUR configs](https://docs.datadoghq.com/api/latest/aws-integration/#list-cloud-cost-management-aws-cur-configs)
    * [Create Cloud Cost Management AWS CUR config](https://docs.datadoghq.com/api/latest/aws-integration/#create-cloud-cost-management-aws-cur-config)
    * [Update Cloud Cost Management AWS CUR config](https://docs.datadoghq.com/api/latest/aws-integration/#update-cloud-cost-management-aws-cur-config)
    * [Delete Cloud Cost Management AWS CUR config](https://docs.datadoghq.com/api/latest/aws-integration/#delete-cloud-cost-management-aws-cur-config)
    * [Get cost AWS CUR config](https://docs.datadoghq.com/api/latest/aws-integration/#get-cost-aws-cur-config)
    * [List Cloud Cost Management Azure configs](https://docs.datadoghq.com/api/latest/aws-integration/#list-cloud-cost-management-azure-configs)
    * [Create Cloud Cost Management Azure configs](https://docs.datadoghq.com/api/latest/aws-integration/#create-cloud-cost-management-azure-configs)
    * [Update Cloud Cost Management Azure config](https://docs.datadoghq.com/api/latest/aws-integration/#update-cloud-cost-management-azure-config)
    * [Delete Cloud Cost Management Azure config](https://docs.datadoghq.com/api/latest/aws-integration/#delete-cloud-cost-management-azure-config)
    * [Get cost Azure UC config](https://docs.datadoghq.com/api/latest/aws-integration/#get-cost-azure-uc-config)
    * [List Google Cloud Usage Cost configs](https://docs.datadoghq.com/api/latest/aws-integration/#list-google-cloud-usage-cost-configs)
    * [Create Google Cloud Usage Cost config](https://docs.datadoghq.com/api/latest/aws-integration/#create-google-cloud-usage-cost-config)
    * [Update Google Cloud Usage Cost config](https://docs.datadoghq.com/api/latest/aws-integration/#update-google-cloud-usage-cost-config)
    * [Delete Google Cloud Usage Cost config](https://docs.datadoghq.com/api/latest/aws-integration/#delete-google-cloud-usage-cost-config)
    * [Get Google Cloud Usage Cost config](https://docs.datadoghq.com/api/latest/aws-integration/#get-google-cloud-usage-cost-config)
    * [List tag pipeline rulesets](https://docs.datadoghq.com/api/latest/aws-integration/#list-tag-pipeline-rulesets)
    * [Create tag pipeline ruleset](https://docs.datadoghq.com/api/latest/aws-integration/#create-tag-pipeline-ruleset)
    * [Update tag pipeline ruleset](https://docs.datadoghq.com/api/latest/aws-integration/#update-tag-pipeline-ruleset)
    * [Delete tag pipeline ruleset](https://docs.datadoghq.com/api/latest/aws-integration/#delete-tag-pipeline-ruleset)
    * [Get a tag pipeline ruleset](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-tag-pipeline-ruleset)
    * [Reorder tag pipeline rulesets](https://docs.datadoghq.com/api/latest/aws-integration/#reorder-tag-pipeline-rulesets)
    * [Validate query](https://docs.datadoghq.com/api/latest/aws-integration/#validate-query)
    * [List custom allocation rules](https://docs.datadoghq.com/api/latest/aws-integration/#list-custom-allocation-rules)
    * [Create custom allocation rule](https://docs.datadoghq.com/api/latest/aws-integration/#create-custom-allocation-rule)
    * [Update custom allocation rule](https://docs.datadoghq.com/api/latest/aws-integration/#update-custom-allocation-rule)
    * [Delete custom allocation rule](https://docs.datadoghq.com/api/latest/aws-integration/#delete-custom-allocation-rule)
    * [Get custom allocation rule](https://docs.datadoghq.com/api/latest/aws-integration/#get-custom-allocation-rule)
    * [Reorder custom allocation rules](https://docs.datadoghq.com/api/latest/aws-integration/#reorder-custom-allocation-rules)
    * [List Custom Costs files](https://docs.datadoghq.com/api/latest/aws-integration/#list-custom-costs-files)
    * [Upload Custom Costs file](https://docs.datadoghq.com/api/latest/aws-integration/#upload-custom-costs-file)
    * [Delete Custom Costs file](https://docs.datadoghq.com/api/latest/aws-integration/#delete-custom-costs-file)
    * [Get Custom Costs file](https://docs.datadoghq.com/api/latest/aws-integration/#get-custom-costs-file)
    * [List budgets](https://docs.datadoghq.com/api/latest/aws-integration/#list-budgets)
    * [Create or update a budget](https://docs.datadoghq.com/api/latest/aws-integration/#create-or-update-a-budget)
    * [Delete a budget](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-budget)
    * [Get a budget](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-budget)
  * [Cloud Network Monitoring](https://docs.datadoghq.com/api/latest/cloud-network-monitoring/)
    * [Get all aggregated connections](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-aggregated-connections)
    * [Get all aggregated DNS traffic](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-aggregated-dns-traffic)
  * [Cloudflare Integration](https://docs.datadoghq.com/api/latest/cloudflare-integration/)
    * [List Cloudflare accounts](https://docs.datadoghq.com/api/latest/aws-integration/#list-cloudflare-accounts)
    * [Add Cloudflare account](https://docs.datadoghq.com/api/latest/aws-integration/#add-cloudflare-account)
    * [Get Cloudflare account](https://docs.datadoghq.com/api/latest/aws-integration/#get-cloudflare-account)
    * [Update Cloudflare account](https://docs.datadoghq.com/api/latest/aws-integration/#update-cloudflare-account)
    * [Delete Cloudflare account](https://docs.datadoghq.com/api/latest/aws-integration/#delete-cloudflare-account)
  * [Confluent Cloud](https://docs.datadoghq.com/api/latest/confluent-cloud/)
    * [Update resource in Confluent account](https://docs.datadoghq.com/api/latest/aws-integration/#update-resource-in-confluent-account)
    * [Get resource from Confluent account](https://docs.datadoghq.com/api/latest/aws-integration/#get-resource-from-confluent-account)
    * [Delete resource from Confluent account](https://docs.datadoghq.com/api/latest/aws-integration/#delete-resource-from-confluent-account)
    * [Add resource to Confluent account](https://docs.datadoghq.com/api/latest/aws-integration/#add-resource-to-confluent-account)
    * [List Confluent Account resources](https://docs.datadoghq.com/api/latest/aws-integration/#list-confluent-account-resources)
    * [Update Confluent account](https://docs.datadoghq.com/api/latest/aws-integration/#update-confluent-account)
    * [Get Confluent account](https://docs.datadoghq.com/api/latest/aws-integration/#get-confluent-account)
    * [Delete Confluent account](https://docs.datadoghq.com/api/latest/aws-integration/#delete-confluent-account)
    * [Add Confluent account](https://docs.datadoghq.com/api/latest/aws-integration/#add-confluent-account)
    * [List Confluent accounts](https://docs.datadoghq.com/api/latest/aws-integration/#list-confluent-accounts)
  * [Container Images](https://docs.datadoghq.com/api/latest/container-images/)
    * [Get all Container Images](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-container-images)
  * [Containers](https://docs.datadoghq.com/api/latest/containers/)
    * [Get All Containers](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-containers)
  * [CSM Agents](https://docs.datadoghq.com/api/latest/csm-agents/)
    * [Get all CSM Agents](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-csm-agents)
    * [Get all CSM Serverless Agents](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-csm-serverless-agents)
  * [CSM Coverage Analysis](https://docs.datadoghq.com/api/latest/csm-coverage-analysis/)
    * [Get the CSM Cloud Accounts Coverage Analysis](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-csm-cloud-accounts-coverage-analysis)
    * [Get the CSM Hosts and Containers Coverage Analysis](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-csm-hosts-and-containers-coverage-analysis)
    * [Get the CSM Serverless Coverage Analysis](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-csm-serverless-coverage-analysis)
  * [CSM Threats](https://docs.datadoghq.com/api/latest/csm-threats/)
    * [Get all Workload Protection agent rules](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-workload-protection-agent-rules)
    * [Get a Workload Protection agent rule](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-workload-protection-agent-rule)
    * [Create a Workload Protection agent rule](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-workload-protection-agent-rule)
    * [Update a Workload Protection agent rule](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-workload-protection-agent-rule)
    * [Delete a Workload Protection agent rule](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-workload-protection-agent-rule)
    * [Get all Workload Protection policies](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-workload-protection-policies)
    * [Get a Workload Protection policy](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-workload-protection-policy)
    * [Create a Workload Protection policy](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-workload-protection-policy)
    * [Update a Workload Protection policy](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-workload-protection-policy)
    * [Delete a Workload Protection policy](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-workload-protection-policy)
    * [Download the Workload Protection policy](https://docs.datadoghq.com/api/latest/aws-integration/#download-the-workload-protection-policy)
    * [Get all Workload Protection agent rules (US1-FED)](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-workload-protection-agent-rules-us1-fed)
    * [Get a Workload Protection agent rule (US1-FED)](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-workload-protection-agent-rule-us1-fed)
    * [Create a Workload Protection agent rule (US1-FED)](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-workload-protection-agent-rule-us1-fed)
    * [Update a Workload Protection agent rule (US1-FED)](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-workload-protection-agent-rule-us1-fed)
    * [Delete a Workload Protection agent rule (US1-FED)](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-workload-protection-agent-rule-us1-fed)
    * [Download the Workload Protection policy (US1-FED)](https://docs.datadoghq.com/api/latest/aws-integration/#download-the-workload-protection-policy-us1-fed)
  * [Dashboard Lists](https://docs.datadoghq.com/api/latest/dashboard-lists/)
    * [Get all dashboard lists](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-dashboard-lists)
    * [Get items of a Dashboard List](https://docs.datadoghq.com/api/latest/aws-integration/#get-items-of-a-dashboard-list)
    * [Add Items to a Dashboard List](https://docs.datadoghq.com/api/latest/aws-integration/#add-items-to-a-dashboard-list)
    * [Create a dashboard list](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-dashboard-list)
    * [Get a dashboard list](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-dashboard-list)
    * [Update items of a dashboard list](https://docs.datadoghq.com/api/latest/aws-integration/#update-items-of-a-dashboard-list)
    * [Delete items from a dashboard list](https://docs.datadoghq.com/api/latest/aws-integration/#delete-items-from-a-dashboard-list)
    * [Update a dashboard list](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-dashboard-list)
    * [Delete a dashboard list](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-dashboard-list)
  * [Dashboards](https://docs.datadoghq.com/api/latest/dashboards/)
    * [Create a new dashboard](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-new-dashboard)
    * [Get a dashboard](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-dashboard)
    * [Get all dashboards](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-dashboards)
    * [Update a dashboard](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-dashboard)
    * [Delete a dashboard](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-dashboard)
    * [Delete dashboards](https://docs.datadoghq.com/api/latest/aws-integration/#delete-dashboards)
    * [Restore deleted dashboards](https://docs.datadoghq.com/api/latest/aws-integration/#restore-deleted-dashboards)
    * [Create a shared dashboard](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-shared-dashboard)
    * [Get a shared dashboard](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-shared-dashboard)
    * [Update a shared dashboard](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-shared-dashboard)
    * [Send shared dashboard invitation email](https://docs.datadoghq.com/api/latest/aws-integration/#send-shared-dashboard-invitation-email)
    * [Get all invitations for a shared dashboard](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-invitations-for-a-shared-dashboard)
    * [Revoke a shared dashboard URL](https://docs.datadoghq.com/api/latest/aws-integration/#revoke-a-shared-dashboard-url)
    * [Revoke shared dashboard invitations](https://docs.datadoghq.com/api/latest/aws-integration/#revoke-shared-dashboard-invitations)
  * [Datasets](https://docs.datadoghq.com/api/latest/datasets/)
    * [Create a dataset](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-dataset)
    * [Get a single dataset by ID](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-single-dataset-by-id)
    * [Get all datasets](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-datasets)
    * [Edit a dataset](https://docs.datadoghq.com/api/latest/aws-integration/#edit-a-dataset)
    * [Delete a dataset](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-dataset)
  * [Deployment Gates](https://docs.datadoghq.com/api/latest/deployment-gates/)
    * [Create deployment gate](https://docs.datadoghq.com/api/latest/aws-integration/#create-deployment-gate)
    * [Get deployment gate](https://docs.datadoghq.com/api/latest/aws-integration/#get-deployment-gate)
    * [Update deployment gate](https://docs.datadoghq.com/api/latest/aws-integration/#update-deployment-gate)
    * [Delete deployment gate](https://docs.datadoghq.com/api/latest/aws-integration/#delete-deployment-gate)
    * [Create deployment rule](https://docs.datadoghq.com/api/latest/aws-integration/#create-deployment-rule)
    * [Get deployment rule](https://docs.datadoghq.com/api/latest/aws-integration/#get-deployment-rule)
    * [Update deployment rule](https://docs.datadoghq.com/api/latest/aws-integration/#update-deployment-rule)
    * [Delete deployment rule](https://docs.datadoghq.com/api/latest/aws-integration/#delete-deployment-rule)
    * [Get rules for a deployment gate](https://docs.datadoghq.com/api/latest/aws-integration/#get-rules-for-a-deployment-gate)
  * [Domain Allowlist](https://docs.datadoghq.com/api/latest/domain-allowlist/)
    * [Get Domain Allowlist](https://docs.datadoghq.com/api/latest/aws-integration/#get-domain-allowlist)
    * [Sets Domain Allowlist](https://docs.datadoghq.com/api/latest/aws-integration/#sets-domain-allowlist)
  * [DORA Metrics](https://docs.datadoghq.com/api/latest/dora-metrics/)
    * [Send a deployment event](https://docs.datadoghq.com/api/latest/aws-integration/#send-a-deployment-event)
    * [Send a failure event](https://docs.datadoghq.com/api/latest/aws-integration/#send-a-failure-event)
    * [Send an incident event](https://docs.datadoghq.com/api/latest/aws-integration/#send-an-incident-event)
    * [Get a list of deployment events](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-deployment-events)
    * [Get a list of failure events](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-failure-events)
    * [Get a deployment event](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-deployment-event)
    * [Get a failure event](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-failure-event)
    * [Delete a failure event](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-failure-event)
    * [Delete a deployment event](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-deployment-event)
  * [Downtimes](https://docs.datadoghq.com/api/latest/downtimes/)
    * [Get all downtimes](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-downtimes)
    * [Schedule a downtime](https://docs.datadoghq.com/api/latest/aws-integration/#schedule-a-downtime)
    * [Cancel downtimes by scope](https://docs.datadoghq.com/api/latest/aws-integration/#cancel-downtimes-by-scope)
    * [Cancel a downtime](https://docs.datadoghq.com/api/latest/aws-integration/#cancel-a-downtime)
    * [Get a downtime](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-downtime)
    * [Update a downtime](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-downtime)
    * [Get active downtimes for a monitor](https://docs.datadoghq.com/api/latest/aws-integration/#get-active-downtimes-for-a-monitor)
  * [Embeddable Graphs](https://docs.datadoghq.com/api/latest/embeddable-graphs/)
    * [Revoke embed](https://docs.datadoghq.com/api/latest/aws-integration/#revoke-embed)
    * [Enable embed](https://docs.datadoghq.com/api/latest/aws-integration/#enable-embed)
    * [Get specific embed](https://docs.datadoghq.com/api/latest/aws-integration/#get-specific-embed)
    * [Create embed](https://docs.datadoghq.com/api/latest/aws-integration/#create-embed)
    * [Get all embeds](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-embeds)
  * [Error Tracking](https://docs.datadoghq.com/api/latest/error-tracking/)
    * [Search error tracking issues](https://docs.datadoghq.com/api/latest/aws-integration/#search-error-tracking-issues)
    * [Get the details of an error tracking issue](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-details-of-an-error-tracking-issue)
    * [Update the state of an issue](https://docs.datadoghq.com/api/latest/aws-integration/#update-the-state-of-an-issue)
    * [Update the assignee of an issue](https://docs.datadoghq.com/api/latest/aws-integration/#update-the-assignee-of-an-issue)
    * [Remove the assignee of an issue](https://docs.datadoghq.com/api/latest/aws-integration/#remove-the-assignee-of-an-issue)
  * [Events](https://docs.datadoghq.com/api/latest/events/)
    * [Get a list of events](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-events)
    * [Post an event](https://docs.datadoghq.com/api/latest/aws-integration/#post-an-event)
    * [Get an event](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-event)
    * [Search events](https://docs.datadoghq.com/api/latest/aws-integration/#search-events)
  * [Fastly Integration](https://docs.datadoghq.com/api/latest/fastly-integration/)
    * [List Fastly accounts](https://docs.datadoghq.com/api/latest/aws-integration/#list-fastly-accounts)
    * [Add Fastly account](https://docs.datadoghq.com/api/latest/aws-integration/#add-fastly-account)
    * [Get Fastly account](https://docs.datadoghq.com/api/latest/aws-integration/#get-fastly-account)
    * [Update Fastly account](https://docs.datadoghq.com/api/latest/aws-integration/#update-fastly-account)
    * [Delete Fastly account](https://docs.datadoghq.com/api/latest/aws-integration/#delete-fastly-account)
    * [List Fastly services](https://docs.datadoghq.com/api/latest/aws-integration/#list-fastly-services)
    * [Add Fastly service](https://docs.datadoghq.com/api/latest/aws-integration/#add-fastly-service)
    * [Get Fastly service](https://docs.datadoghq.com/api/latest/aws-integration/#get-fastly-service)
    * [Update Fastly service](https://docs.datadoghq.com/api/latest/aws-integration/#update-fastly-service)
    * [Delete Fastly service](https://docs.datadoghq.com/api/latest/aws-integration/#delete-fastly-service)
  * [Fleet Automation](https://docs.datadoghq.com/api/latest/fleet-automation/)
    * [List all available Agent versions](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-available-agent-versions)
    * [List all Datadog Agents](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-datadog-agents)
    * [Get detailed information about an agent](https://docs.datadoghq.com/api/latest/aws-integration/#get-detailed-information-about-an-agent)
    * [List all deployments](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-deployments)
    * [Create a configuration deployment](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-configuration-deployment)
    * [Upgrade hosts](https://docs.datadoghq.com/api/latest/aws-integration/#upgrade-hosts)
    * [Get a configuration deployment by ID](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-configuration-deployment-by-id)
    * [Cancel a deployment](https://docs.datadoghq.com/api/latest/aws-integration/#cancel-a-deployment)
    * [List all schedules](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-schedules)
    * [Create a schedule](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-schedule)
    * [Get a schedule by ID](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-schedule-by-id)
    * [Update a schedule](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-schedule)
    * [Delete a schedule](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-schedule)
    * [Trigger a schedule deployment](https://docs.datadoghq.com/api/latest/aws-integration/#trigger-a-schedule-deployment)
  * [GCP Integration](https://docs.datadoghq.com/api/latest/gcp-integration/)
    * [List all GCP integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-gcp-integrations)
    * [List all GCP STS-enabled service accounts](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-gcp-sts-enabled-service-accounts)
    * [Create a GCP integration](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-gcp-integration)
    * [Create a new entry for your service account](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-new-entry-for-your-service-account)
    * [Delete a GCP integration](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-gcp-integration)
    * [Delete an STS enabled GCP Account](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-sts-enabled-gcp-account)
    * [Update a GCP integration](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-gcp-integration)
    * [Update STS Service Account](https://docs.datadoghq.com/api/latest/aws-integration/#update-sts-service-account)
    * [Create a Datadog GCP principal](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-datadog-gcp-principal)
    * [List delegate account](https://docs.datadoghq.com/api/latest/aws-integration/#list-delegate-account)
  * [Hosts](https://docs.datadoghq.com/api/latest/hosts/)
    * [Get all hosts for your organization](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-hosts-for-your-organization)
    * [Get the total number of active hosts](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-total-number-of-active-hosts)
    * [Mute a host](https://docs.datadoghq.com/api/latest/aws-integration/#mute-a-host)
    * [Unmute a host](https://docs.datadoghq.com/api/latest/aws-integration/#unmute-a-host)
  * [Incident Services](https://docs.datadoghq.com/api/latest/incident-services/)
    * [Get details of an incident service](https://docs.datadoghq.com/api/latest/aws-integration/#get-details-of-an-incident-service)
    * [Delete an existing incident service](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-existing-incident-service)
    * [Update an existing incident service](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-existing-incident-service)
    * [Get a list of all incident services](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-all-incident-services)
    * [Create a new incident service](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-new-incident-service)
  * [Incident Teams](https://docs.datadoghq.com/api/latest/incident-teams/)
    * [Get details of an incident team](https://docs.datadoghq.com/api/latest/aws-integration/#get-details-of-an-incident-team)
    * [Delete an existing incident team](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-existing-incident-team)
    * [Update an existing incident team](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-existing-incident-team)
    * [Get a list of all incident teams](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-all-incident-teams)
    * [Create a new incident team](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-new-incident-team)
  * [Incidents](https://docs.datadoghq.com/api/latest/incidents/)
    * [Create an incident](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-incident)
    * [Get the details of an incident](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-details-of-an-incident)
    * [Update an existing incident](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-existing-incident)
    * [Delete an existing incident](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-existing-incident)
    * [Get a list of incidents](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-incidents)
    * [Search for incidents](https://docs.datadoghq.com/api/latest/aws-integration/#search-for-incidents)
    * [List an incident's impacts](https://docs.datadoghq.com/api/latest/aws-integration/#list-an-incidents-impacts)
    * [Create an incident impact](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-incident-impact)
    * [Delete an incident impact](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-incident-impact)
    * [Get a list of an incident's integration metadata](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-an-incidents-integration-metadata)
    * [Create an incident integration metadata](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-incident-integration-metadata)
    * [Get incident integration metadata details](https://docs.datadoghq.com/api/latest/aws-integration/#get-incident-integration-metadata-details)
    * [Update an existing incident integration metadata](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-existing-incident-integration-metadata)
    * [Delete an incident integration metadata](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-incident-integration-metadata)
    * [Get a list of an incident's todos](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-an-incidents-todos)
    * [Create an incident todo](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-incident-todo)
    * [Get incident todo details](https://docs.datadoghq.com/api/latest/aws-integration/#get-incident-todo-details)
    * [Update an incident todo](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-incident-todo)
    * [Delete an incident todo](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-incident-todo)
    * [Create an incident type](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-incident-type)
    * [Get a list of incident types](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-incident-types)
    * [Get incident type details](https://docs.datadoghq.com/api/latest/aws-integration/#get-incident-type-details)
    * [Update an incident type](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-incident-type)
    * [Delete an incident type](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-incident-type)
    * [List incident notification templates](https://docs.datadoghq.com/api/latest/aws-integration/#list-incident-notification-templates)
    * [Create incident notification template](https://docs.datadoghq.com/api/latest/aws-integration/#create-incident-notification-template)
    * [Get incident notification template](https://docs.datadoghq.com/api/latest/aws-integration/#get-incident-notification-template)
    * [Update incident notification template](https://docs.datadoghq.com/api/latest/aws-integration/#update-incident-notification-template)
    * [Delete a notification template](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-notification-template)
    * [List incident notification rules](https://docs.datadoghq.com/api/latest/aws-integration/#list-incident-notification-rules)
    * [Create an incident notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-incident-notification-rule)
    * [Get an incident notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-incident-notification-rule)
    * [Update an incident notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-incident-notification-rule)
    * [Delete an incident notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-incident-notification-rule)
    * [List incident attachments](https://docs.datadoghq.com/api/latest/aws-integration/#list-incident-attachments)
    * [Create incident attachment](https://docs.datadoghq.com/api/latest/aws-integration/#create-incident-attachment)
    * [Delete incident attachment](https://docs.datadoghq.com/api/latest/aws-integration/#delete-incident-attachment)
    * [Update incident attachment](https://docs.datadoghq.com/api/latest/aws-integration/#update-incident-attachment)
  * [IP Allowlist](https://docs.datadoghq.com/api/latest/ip-allowlist/)
    * [Get IP Allowlist](https://docs.datadoghq.com/api/latest/aws-integration/#get-ip-allowlist)
    * [Update IP Allowlist](https://docs.datadoghq.com/api/latest/aws-integration/#update-ip-allowlist)
  * [IP Ranges](https://docs.datadoghq.com/api/latest/ip-ranges/)
    * [List IP Ranges](https://docs.datadoghq.com/api/latest/aws-integration/#list-ip-ranges)
  * [Key Management](https://docs.datadoghq.com/api/latest/key-management/)
    * [Delete an application key owned by current user](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-application-key-owned-by-current-user)
    * [Get all API keys](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-api-keys)
    * [Create an API key](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-api-key)
    * [Edit an application key owned by current user](https://docs.datadoghq.com/api/latest/aws-integration/#edit-an-application-key-owned-by-current-user)
    * [Get API key](https://docs.datadoghq.com/api/latest/aws-integration/#get-api-key)
    * [Get one application key owned by current user](https://docs.datadoghq.com/api/latest/aws-integration/#get-one-application-key-owned-by-current-user)
    * [Create an application key for current user](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-application-key-for-current-user)
    * [Edit an API key](https://docs.datadoghq.com/api/latest/aws-integration/#edit-an-api-key)
    * [Delete an API key](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-api-key)
    * [Get all application keys owned by current user](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-application-keys-owned-by-current-user)
    * [Get all application keys](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-application-keys)
    * [Create an application key](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-application-key)
    * [Get an application key](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-application-key)
    * [Edit an application key](https://docs.datadoghq.com/api/latest/aws-integration/#edit-an-application-key)
    * [Delete an application key](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-application-key)
  * [Logs](https://docs.datadoghq.com/api/latest/logs/)
    * [Send logs](https://docs.datadoghq.com/api/latest/aws-integration/#send-logs)
    * [Aggregate events](https://docs.datadoghq.com/api/latest/aws-integration/#aggregate-events)
    * [Search logs](https://docs.datadoghq.com/api/latest/aws-integration/#search-logs)
    * [Search logs (POST)](https://docs.datadoghq.com/api/latest/aws-integration/#search-logs-post)
    * [Search logs (GET)](https://docs.datadoghq.com/api/latest/aws-integration/#search-logs-get)
  * [Logs Archives](https://docs.datadoghq.com/api/latest/logs-archives/)
    * [Get all archives](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-archives)
    * [Create an archive](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-archive)
    * [Get an archive](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-archive)
    * [Update an archive](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-archive)
    * [Delete an archive](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-archive)
    * [List read roles for an archive](https://docs.datadoghq.com/api/latest/aws-integration/#list-read-roles-for-an-archive)
    * [Grant role to an archive](https://docs.datadoghq.com/api/latest/aws-integration/#grant-role-to-an-archive)
    * [Revoke role from an archive](https://docs.datadoghq.com/api/latest/aws-integration/#revoke-role-from-an-archive)
    * [Get archive order](https://docs.datadoghq.com/api/latest/aws-integration/#get-archive-order)
    * [Update archive order](https://docs.datadoghq.com/api/latest/aws-integration/#update-archive-order)
  * [Logs Custom Destinations](https://docs.datadoghq.com/api/latest/logs-custom-destinations/)
    * [Get all custom destinations](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-custom-destinations)
    * [Create a custom destination](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-custom-destination)
    * [Get a custom destination](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-custom-destination)
    * [Update a custom destination](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-custom-destination)
    * [Delete a custom destination](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-custom-destination)
  * [Logs Indexes](https://docs.datadoghq.com/api/latest/logs-indexes/)
    * [Get all indexes](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-indexes)
    * [Get an index](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-index)
    * [Create an index](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-index)
    * [Update an index](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-index)
    * [Delete an index](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-index)
    * [Get indexes order](https://docs.datadoghq.com/api/latest/aws-integration/#get-indexes-order)
    * [Update indexes order](https://docs.datadoghq.com/api/latest/aws-integration/#update-indexes-order)
  * [Logs Metrics](https://docs.datadoghq.com/api/latest/logs-metrics/)
    * [Get all log-based metrics](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-log-based-metrics)
    * [Create a log-based metric](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-log-based-metric)
    * [Get a log-based metric](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-log-based-metric)
    * [Update a log-based metric](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-log-based-metric)
    * [Delete a log-based metric](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-log-based-metric)
  * [Logs Pipelines](https://docs.datadoghq.com/api/latest/logs-pipelines/)
    * [Get pipeline order](https://docs.datadoghq.com/api/latest/aws-integration/#get-pipeline-order)
    * [Update pipeline order](https://docs.datadoghq.com/api/latest/aws-integration/#update-pipeline-order)
    * [Get all pipelines](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-pipelines)
    * [Create a pipeline](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-pipeline)
    * [Get a pipeline](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-pipeline)
    * [Delete a pipeline](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-pipeline)
    * [Update a pipeline](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-pipeline)
  * [Logs Restriction Queries](https://docs.datadoghq.com/api/latest/logs-restriction-queries/)
    * [List restriction queries](https://docs.datadoghq.com/api/latest/aws-integration/#list-restriction-queries)
    * [Create a restriction query](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-restriction-query)
    * [Get a restriction query](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-restriction-query)
    * [Replace a restriction query](https://docs.datadoghq.com/api/latest/aws-integration/#replace-a-restriction-query)
    * [Update a restriction query](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-restriction-query)
    * [Delete a restriction query](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-restriction-query)
    * [List roles for a restriction query](https://docs.datadoghq.com/api/latest/aws-integration/#list-roles-for-a-restriction-query)
    * [Grant role to a restriction query](https://docs.datadoghq.com/api/latest/aws-integration/#grant-role-to-a-restriction-query)
    * [Revoke role from a restriction query](https://docs.datadoghq.com/api/latest/aws-integration/#revoke-role-from-a-restriction-query)
    * [Get all restriction queries for a given user](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-restriction-queries-for-a-given-user)
    * [Get restriction query for a given role](https://docs.datadoghq.com/api/latest/aws-integration/#get-restriction-query-for-a-given-role)
  * [Metrics](https://docs.datadoghq.com/api/latest/metrics/)
    * [Create a tag configuration](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-tag-configuration)
    * [Get active metrics list](https://docs.datadoghq.com/api/latest/aws-integration/#get-active-metrics-list)
    * [Query timeseries data across multiple products](https://docs.datadoghq.com/api/latest/aws-integration/#query-timeseries-data-across-multiple-products)
    * [Submit distribution points](https://docs.datadoghq.com/api/latest/aws-integration/#submit-distribution-points)
    * [Submit metrics](https://docs.datadoghq.com/api/latest/aws-integration/#submit-metrics)
    * [Get metric metadata](https://docs.datadoghq.com/api/latest/aws-integration/#get-metric-metadata)
    * [List tag configuration by name](https://docs.datadoghq.com/api/latest/aws-integration/#list-tag-configuration-by-name)
    * [Query scalar data across multiple products](https://docs.datadoghq.com/api/latest/aws-integration/#query-scalar-data-across-multiple-products)
    * [Edit metric metadata](https://docs.datadoghq.com/api/latest/aws-integration/#edit-metric-metadata)
    * [Update a tag configuration](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-tag-configuration)
    * [Delete a tag configuration](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-tag-configuration)
    * [Search metrics](https://docs.datadoghq.com/api/latest/aws-integration/#search-metrics)
    * [Get a list of metrics](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-metrics)
    * [Query timeseries points](https://docs.datadoghq.com/api/latest/aws-integration/#query-timeseries-points)
    * [List tags by metric name](https://docs.datadoghq.com/api/latest/aws-integration/#list-tags-by-metric-name)
    * [List active tags and aggregations](https://docs.datadoghq.com/api/latest/aws-integration/#list-active-tags-and-aggregations)
    * [List distinct metric volumes by metric name](https://docs.datadoghq.com/api/latest/aws-integration/#list-distinct-metric-volumes-by-metric-name)
    * [Configure tags for multiple metrics](https://docs.datadoghq.com/api/latest/aws-integration/#configure-tags-for-multiple-metrics)
    * [Delete tags for multiple metrics](https://docs.datadoghq.com/api/latest/aws-integration/#delete-tags-for-multiple-metrics)
    * [Tag Configuration Cardinality Estimator](https://docs.datadoghq.com/api/latest/aws-integration/#tag-configuration-cardinality-estimator)
    * [Related Assets to a Metric](https://docs.datadoghq.com/api/latest/aws-integration/#related-assets-to-a-metric)
    * [Get tag key cardinality details](https://docs.datadoghq.com/api/latest/aws-integration/#get-tag-key-cardinality-details)
  * [Microsoft Teams Integration](https://docs.datadoghq.com/api/latest/microsoft-teams-integration/)
    * [Create tenant-based handle](https://docs.datadoghq.com/api/latest/aws-integration/#create-tenant-based-handle)
    * [Create Workflows webhook handle](https://docs.datadoghq.com/api/latest/aws-integration/#create-workflows-webhook-handle)
    * [Delete tenant-based handle](https://docs.datadoghq.com/api/latest/aws-integration/#delete-tenant-based-handle)
    * [Delete Workflows webhook handle](https://docs.datadoghq.com/api/latest/aws-integration/#delete-workflows-webhook-handle)
    * [Get all tenant-based handles](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-tenant-based-handles)
    * [Get all Workflows webhook handles](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-workflows-webhook-handles)
    * [Get channel information by name](https://docs.datadoghq.com/api/latest/aws-integration/#get-channel-information-by-name)
    * [Get tenant-based handle information](https://docs.datadoghq.com/api/latest/aws-integration/#get-tenant-based-handle-information)
    * [Get Workflows webhook handle information](https://docs.datadoghq.com/api/latest/aws-integration/#get-workflows-webhook-handle-information)
    * [Update tenant-based handle](https://docs.datadoghq.com/api/latest/aws-integration/#update-tenant-based-handle)
    * [Update Workflows webhook handle](https://docs.datadoghq.com/api/latest/aws-integration/#update-workflows-webhook-handle)
  * [Monitors](https://docs.datadoghq.com/api/latest/monitors/)
    * [Create a monitor](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-monitor)
    * [Monitors search](https://docs.datadoghq.com/api/latest/aws-integration/#monitors-search)
    * [Unmute a monitor](https://docs.datadoghq.com/api/latest/aws-integration/#unmute-a-monitor)
    * [Get all monitors](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-monitors)
    * [Monitors group search](https://docs.datadoghq.com/api/latest/aws-integration/#monitors-group-search)
    * [Mute a monitor](https://docs.datadoghq.com/api/latest/aws-integration/#mute-a-monitor)
    * [Edit a monitor](https://docs.datadoghq.com/api/latest/aws-integration/#edit-a-monitor)
    * [Unmute all monitors](https://docs.datadoghq.com/api/latest/aws-integration/#unmute-all-monitors)
    * [Get a monitor's details](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-monitors-details)
    * [Mute all monitors](https://docs.datadoghq.com/api/latest/aws-integration/#mute-all-monitors)
    * [Delete a monitor](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-monitor)
    * [Check if a monitor can be deleted](https://docs.datadoghq.com/api/latest/aws-integration/#check-if-a-monitor-can-be-deleted)
    * [Validate a monitor](https://docs.datadoghq.com/api/latest/aws-integration/#validate-a-monitor)
    * [Validate an existing monitor](https://docs.datadoghq.com/api/latest/aws-integration/#validate-an-existing-monitor)
    * [Get a monitor configuration policy](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-monitor-configuration-policy)
    * [Get all monitor configuration policies](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-monitor-configuration-policies)
    * [Create a monitor configuration policy](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-monitor-configuration-policy)
    * [Edit a monitor configuration policy](https://docs.datadoghq.com/api/latest/aws-integration/#edit-a-monitor-configuration-policy)
    * [Delete a monitor configuration policy](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-monitor-configuration-policy)
    * [Get a monitor notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-monitor-notification-rule)
    * [Get all monitor notification rules](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-monitor-notification-rules)
    * [Create a monitor notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-monitor-notification-rule)
    * [Update a monitor notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-monitor-notification-rule)
    * [Delete a monitor notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-monitor-notification-rule)
    * [Get a monitor user template](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-monitor-user-template)
    * [Get all monitor user templates](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-monitor-user-templates)
    * [Create a monitor user template](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-monitor-user-template)
    * [Update a monitor user template to a new version](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-monitor-user-template-to-a-new-version)
    * [Delete a monitor user template](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-monitor-user-template)
    * [Validate a monitor user template](https://docs.datadoghq.com/api/latest/aws-integration/#validate-a-monitor-user-template)
    * [Validate an existing monitor user template](https://docs.datadoghq.com/api/latest/aws-integration/#validate-an-existing-monitor-user-template)
  * [Network Device Monitoring](https://docs.datadoghq.com/api/latest/network-device-monitoring/)
    * [Get the list of devices](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-list-of-devices)
    * [Get the device details](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-device-details)
    * [Get the list of interfaces of the device](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-list-of-interfaces-of-the-device)
    * [Get the list of tags for a device](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-list-of-tags-for-a-device)
    * [Update the tags for a device](https://docs.datadoghq.com/api/latest/aws-integration/#update-the-tags-for-a-device)
  * [Notebooks](https://docs.datadoghq.com/api/latest/notebooks/)
    * [Create a notebook](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-notebook)
    * [Get all notebooks](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-notebooks)
    * [Delete a notebook](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-notebook)
    * [Update a notebook](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-notebook)
    * [Get a notebook](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-notebook)
  * [Observability Pipelines](https://docs.datadoghq.com/api/latest/observability-pipelines/)
    * [List pipelines](https://docs.datadoghq.com/api/latest/aws-integration/#list-pipelines)
    * [Create a new pipeline](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-new-pipeline)
    * [Get a specific pipeline](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-specific-pipeline)
    * [Update a pipeline](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-pipeline)
    * [Delete a pipeline](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-pipeline)
    * [Validate an observability pipeline](https://docs.datadoghq.com/api/latest/aws-integration/#validate-an-observability-pipeline)
  * [Okta Integration](https://docs.datadoghq.com/api/latest/okta-integration/)
    * [List Okta accounts](https://docs.datadoghq.com/api/latest/aws-integration/#list-okta-accounts)
    * [Add Okta account](https://docs.datadoghq.com/api/latest/aws-integration/#add-okta-account)
    * [Get Okta account](https://docs.datadoghq.com/api/latest/aws-integration/#get-okta-account)
    * [Update Okta account](https://docs.datadoghq.com/api/latest/aws-integration/#update-okta-account)
    * [Delete Okta account](https://docs.datadoghq.com/api/latest/aws-integration/#delete-okta-account)
  * [On-Call](https://docs.datadoghq.com/api/latest/on-call/)
    * [Create On-Call schedule](https://docs.datadoghq.com/api/latest/aws-integration/#create-on-call-schedule)
    * [Get On-Call schedule](https://docs.datadoghq.com/api/latest/aws-integration/#get-on-call-schedule)
    * [Delete On-Call schedule](https://docs.datadoghq.com/api/latest/aws-integration/#delete-on-call-schedule)
    * [Update On-Call schedule](https://docs.datadoghq.com/api/latest/aws-integration/#update-on-call-schedule)
    * [Create On-Call escalation policy](https://docs.datadoghq.com/api/latest/aws-integration/#create-on-call-escalation-policy)
    * [Update On-Call escalation policy](https://docs.datadoghq.com/api/latest/aws-integration/#update-on-call-escalation-policy)
    * [Get On-Call escalation policy](https://docs.datadoghq.com/api/latest/aws-integration/#get-on-call-escalation-policy)
    * [Delete On-Call escalation policy](https://docs.datadoghq.com/api/latest/aws-integration/#delete-on-call-escalation-policy)
    * [Get On-Call team routing rules](https://docs.datadoghq.com/api/latest/aws-integration/#get-on-call-team-routing-rules)
    * [Set On-Call team routing rules](https://docs.datadoghq.com/api/latest/aws-integration/#set-on-call-team-routing-rules)
    * [Get scheduled on-call user](https://docs.datadoghq.com/api/latest/aws-integration/#get-scheduled-on-call-user)
    * [Get team on-call users](https://docs.datadoghq.com/api/latest/aws-integration/#get-team-on-call-users)
    * [Delete an On-Call notification channel for a user](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-on-call-notification-channel-for-a-user)
    * [Get an On-Call notification channel for a user](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-on-call-notification-channel-for-a-user)
    * [List On-Call notification channels for a user](https://docs.datadoghq.com/api/latest/aws-integration/#list-on-call-notification-channels-for-a-user)
    * [Create an On-Call notification channel for a user](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-on-call-notification-channel-for-a-user)
    * [Create an On-Call notification rule for a user](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-on-call-notification-rule-for-a-user)
    * [List On-Call notification rules for a user](https://docs.datadoghq.com/api/latest/aws-integration/#list-on-call-notification-rules-for-a-user)
    * [Delete an On-Call notification rule for a user](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-on-call-notification-rule-for-a-user)
    * [Get an On-Call notification rule for a user](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-on-call-notification-rule-for-a-user)
    * [Update an On-Call notification rule for a user](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-on-call-notification-rule-for-a-user)
  * [On-Call Paging](https://docs.datadoghq.com/api/latest/on-call-paging/)
    * [Create On-Call Page](https://docs.datadoghq.com/api/latest/aws-integration/#create-on-call-page)
    * [Acknowledge On-Call Page](https://docs.datadoghq.com/api/latest/aws-integration/#acknowledge-on-call-page)
    * [Escalate On-Call Page](https://docs.datadoghq.com/api/latest/aws-integration/#escalate-on-call-page)
    * [Resolve On-Call Page](https://docs.datadoghq.com/api/latest/aws-integration/#resolve-on-call-page)
  * [Opsgenie Integration](https://docs.datadoghq.com/api/latest/opsgenie-integration/)
    * [Get all service objects](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-service-objects)
    * [Create a new service object](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-new-service-object)
    * [Get a single service object](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-single-service-object)
    * [Update a single service object](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-single-service-object)
    * [Delete a single service object](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-single-service-object)
  * [Org Connections](https://docs.datadoghq.com/api/latest/org-connections/)
    * [List Org Connections](https://docs.datadoghq.com/api/latest/aws-integration/#list-org-connections)
    * [Create Org Connection](https://docs.datadoghq.com/api/latest/aws-integration/#create-org-connection)
    * [Update Org Connection](https://docs.datadoghq.com/api/latest/aws-integration/#update-org-connection)
    * [Delete Org Connection](https://docs.datadoghq.com/api/latest/aws-integration/#delete-org-connection)
  * [Organizations](https://docs.datadoghq.com/api/latest/organizations/)
    * [Create a child organization](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-child-organization)
    * [List your managed organizations](https://docs.datadoghq.com/api/latest/aws-integration/#list-your-managed-organizations)
    * [Get organization information](https://docs.datadoghq.com/api/latest/aws-integration/#get-organization-information)
    * [Update your organization](https://docs.datadoghq.com/api/latest/aws-integration/#update-your-organization)
    * [Upload IdP metadata](https://docs.datadoghq.com/api/latest/aws-integration/#upload-idp-metadata)
    * [Spin-off Child Organization](https://docs.datadoghq.com/api/latest/aws-integration/#spin-off-child-organization)
    * [List Org Configs](https://docs.datadoghq.com/api/latest/aws-integration/#list-org-configs)
    * [Get a specific Org Config value](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-specific-org-config-value)
    * [Update a specific Org Config](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-specific-org-config)
  * [PagerDuty Integration](https://docs.datadoghq.com/api/latest/pagerduty-integration/)
    * [Create a new service object](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-new-service-object)
    * [Get a single service object](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-single-service-object)
    * [Update a single service object](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-single-service-object)
    * [Delete a single service object](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-single-service-object)
  * [Powerpack](https://docs.datadoghq.com/api/latest/powerpack/)
    * [Get all powerpacks](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-powerpacks)
    * [Create a new powerpack](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-new-powerpack)
    * [Delete a powerpack](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-powerpack)
    * [Get a Powerpack](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-powerpack)
    * [Update a powerpack](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-powerpack)
  * [Processes](https://docs.datadoghq.com/api/latest/processes/)
    * [Get all processes](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-processes)
  * [Product Analytics](https://docs.datadoghq.com/api/latest/product-analytics/)
    * [Send server-side events](https://docs.datadoghq.com/api/latest/aws-integration/#send-server-side-events)
  * [Reference Tables](https://docs.datadoghq.com/api/latest/reference-tables/)
    * [Create reference table upload](https://docs.datadoghq.com/api/latest/aws-integration/#create-reference-table-upload)
    * [Create reference table](https://docs.datadoghq.com/api/latest/aws-integration/#create-reference-table)
    * [List tables](https://docs.datadoghq.com/api/latest/aws-integration/#list-tables)
    * [Get table](https://docs.datadoghq.com/api/latest/aws-integration/#get-table)
    * [Get rows by id](https://docs.datadoghq.com/api/latest/aws-integration/#get-rows-by-id)
    * [Update reference table](https://docs.datadoghq.com/api/latest/aws-integration/#update-reference-table)
    * [Delete table](https://docs.datadoghq.com/api/latest/aws-integration/#delete-table)
    * [Upsert rows](https://docs.datadoghq.com/api/latest/aws-integration/#upsert-rows)
    * [Delete rows](https://docs.datadoghq.com/api/latest/aws-integration/#delete-rows)
  * [Restriction Policies](https://docs.datadoghq.com/api/latest/restriction-policies/)
    * [Update a restriction policy](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-restriction-policy)
    * [Get a restriction policy](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-restriction-policy)
    * [Delete a restriction policy](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-restriction-policy)
  * [Roles](https://docs.datadoghq.com/api/latest/roles/)
    * [List permissions](https://docs.datadoghq.com/api/latest/aws-integration/#list-permissions)
    * [List roles](https://docs.datadoghq.com/api/latest/aws-integration/#list-roles)
    * [Create role](https://docs.datadoghq.com/api/latest/aws-integration/#create-role)
    * [Get a role](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-role)
    * [Update a role](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-role)
    * [Delete role](https://docs.datadoghq.com/api/latest/aws-integration/#delete-role)
    * [List permissions for a role](https://docs.datadoghq.com/api/latest/aws-integration/#list-permissions-for-a-role)
    * [Grant permission to a role](https://docs.datadoghq.com/api/latest/aws-integration/#grant-permission-to-a-role)
    * [Revoke permission](https://docs.datadoghq.com/api/latest/aws-integration/#revoke-permission)
    * [Get all users of a role](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-users-of-a-role)
    * [Add a user to a role](https://docs.datadoghq.com/api/latest/aws-integration/#add-a-user-to-a-role)
    * [Remove a user from a role](https://docs.datadoghq.com/api/latest/aws-integration/#remove-a-user-from-a-role)
    * [Create a new role by cloning an existing role](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-new-role-by-cloning-an-existing-role)
    * [List role templates](https://docs.datadoghq.com/api/latest/aws-integration/#list-role-templates)
  * [RUM](https://docs.datadoghq.com/api/latest/rum/)
    * [Search RUM events](https://docs.datadoghq.com/api/latest/aws-integration/#search-rum-events)
    * [Get a list of RUM events](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-rum-events)
    * [Aggregate RUM events](https://docs.datadoghq.com/api/latest/aws-integration/#aggregate-rum-events)
    * [Update a RUM application](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-rum-application)
    * [Get a RUM application](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-rum-application)
    * [Delete a RUM application](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-rum-application)
    * [Create a new RUM application](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-new-rum-application)
    * [List all the RUM applications](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-the-rum-applications)
  * [Rum Audience Management](https://docs.datadoghq.com/api/latest/rum-audience-management/)
    * [Query accounts](https://docs.datadoghq.com/api/latest/aws-integration/#query-accounts)
    * [Create connection](https://docs.datadoghq.com/api/latest/aws-integration/#create-connection)
    * [Update connection](https://docs.datadoghq.com/api/latest/aws-integration/#update-connection)
    * [Query event filtered users](https://docs.datadoghq.com/api/latest/aws-integration/#query-event-filtered-users)
    * [Get account facet info](https://docs.datadoghq.com/api/latest/aws-integration/#get-account-facet-info)
    * [Delete connection](https://docs.datadoghq.com/api/latest/aws-integration/#delete-connection)
    * [List connections](https://docs.datadoghq.com/api/latest/aws-integration/#list-connections)
    * [Query users](https://docs.datadoghq.com/api/latest/aws-integration/#query-users)
    * [Get user facet info](https://docs.datadoghq.com/api/latest/aws-integration/#get-user-facet-info)
    * [Get mapping](https://docs.datadoghq.com/api/latest/aws-integration/#get-mapping)
  * [Rum Metrics](https://docs.datadoghq.com/api/latest/rum-metrics/)
    * [Get all rum-based metrics](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-rum-based-metrics)
    * [Create a rum-based metric](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-rum-based-metric)
    * [Get a rum-based metric](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-rum-based-metric)
    * [Update a rum-based metric](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-rum-based-metric)
    * [Delete a rum-based metric](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-rum-based-metric)
  * [Rum Retention Filters](https://docs.datadoghq.com/api/latest/rum-retention-filters/)
    * [Get all RUM retention filters](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-rum-retention-filters)
    * [Get a RUM retention filter](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-rum-retention-filter)
    * [Create a RUM retention filter](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-rum-retention-filter)
    * [Update a RUM retention filter](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-rum-retention-filter)
    * [Delete a RUM retention filter](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-rum-retention-filter)
    * [Order RUM retention filters](https://docs.datadoghq.com/api/latest/aws-integration/#order-rum-retention-filters)
  * [SCIM](https://docs.datadoghq.com/api/latest/scim/)
    * [List users](https://docs.datadoghq.com/api/latest/aws-integration/#list-users)
    * [Create user](https://docs.datadoghq.com/api/latest/aws-integration/#create-user)
    * [Get user](https://docs.datadoghq.com/api/latest/aws-integration/#get-user)
    * [Update user](https://docs.datadoghq.com/api/latest/aws-integration/#update-user)
    * [Patch user](https://docs.datadoghq.com/api/latest/aws-integration/#patch-user)
    * [Delete user](https://docs.datadoghq.com/api/latest/aws-integration/#delete-user)
    * [List groups](https://docs.datadoghq.com/api/latest/aws-integration/#list-groups)
    * [Create group](https://docs.datadoghq.com/api/latest/aws-integration/#create-group)
    * [Get group](https://docs.datadoghq.com/api/latest/aws-integration/#get-group)
    * [Update group](https://docs.datadoghq.com/api/latest/aws-integration/#update-group)
    * [Patch group](https://docs.datadoghq.com/api/latest/aws-integration/#patch-group)
    * [Delete group](https://docs.datadoghq.com/api/latest/aws-integration/#delete-group)
  * [Screenboards](https://docs.datadoghq.com/api/latest/screenboards/)
  * [Security Monitoring](https://docs.datadoghq.com/api/latest/security-monitoring/)
    * [Create a suppression rule](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-suppression-rule)
    * [Delete a suppression rule](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-suppression-rule)
    * [Get a suppression rule](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-suppression-rule)
    * [Get a suppression's version history](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-suppressions-version-history)
    * [Get all suppression rules](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-suppression-rules)
    * [Get suppressions affecting a specific rule](https://docs.datadoghq.com/api/latest/aws-integration/#get-suppressions-affecting-a-specific-rule)
    * [Get suppressions affecting future rule](https://docs.datadoghq.com/api/latest/aws-integration/#get-suppressions-affecting-future-rule)
    * [Update a suppression rule](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-suppression-rule)
    * [Validate a suppression rule](https://docs.datadoghq.com/api/latest/aws-integration/#validate-a-suppression-rule)
    * [List findings](https://docs.datadoghq.com/api/latest/aws-integration/#list-findings)
    * [List security findings](https://docs.datadoghq.com/api/latest/aws-integration/#list-security-findings)
    * [Get a finding](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-finding)
    * [Mute or unmute a batch of findings](https://docs.datadoghq.com/api/latest/aws-integration/#mute-or-unmute-a-batch-of-findings)
    * [Search security findings](https://docs.datadoghq.com/api/latest/aws-integration/#search-security-findings)
    * [Add a security signal to an incident](https://docs.datadoghq.com/api/latest/aws-integration/#add-a-security-signal-to-an-incident)
    * [Change the triage state of a security signal](https://docs.datadoghq.com/api/latest/aws-integration/#change-the-triage-state-of-a-security-signal)
    * [Create a custom framework](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-custom-framework)
    * [Create a detection rule](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-detection-rule)
    * [Delete a custom framework](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-custom-framework)
    * [Get a custom framework](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-custom-framework)
    * [List rules](https://docs.datadoghq.com/api/latest/aws-integration/#list-rules)
    * [Update a custom framework](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-custom-framework)
    * [Get a rule's details](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-rules-details)
    * [Modify the triage assignee of a security signal](https://docs.datadoghq.com/api/latest/aws-integration/#modify-the-triage-assignee-of-a-security-signal)
    * [Update an existing rule](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-existing-rule)
    * [Delete an existing rule](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-existing-rule)
    * [Test an existing rule](https://docs.datadoghq.com/api/latest/aws-integration/#test-an-existing-rule)
    * [Test a rule](https://docs.datadoghq.com/api/latest/aws-integration/#test-a-rule)
    * [Validate a detection rule](https://docs.datadoghq.com/api/latest/aws-integration/#validate-a-detection-rule)
    * [Change the related incidents of a security signal](https://docs.datadoghq.com/api/latest/aws-integration/#change-the-related-incidents-of-a-security-signal)
    * [Convert an existing rule from JSON to Terraform](https://docs.datadoghq.com/api/latest/aws-integration/#convert-an-existing-rule-from-json-to-terraform)
    * [Convert a rule from JSON to Terraform](https://docs.datadoghq.com/api/latest/aws-integration/#convert-a-rule-from-json-to-terraform)
    * [Get a list of security signals](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-security-signals)
    * [Get a signal's details](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-signals-details)
    * [Delete a security filter](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-security-filter)
    * [Get a quick list of security signals](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-quick-list-of-security-signals)
    * [Get the list of signal-based notification rules](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-list-of-signal-based-notification-rules)
    * [Get the list of vulnerability notification rules](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-list-of-vulnerability-notification-rules)
    * [Update a security filter](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-security-filter)
    * [Create a new signal-based notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-new-signal-based-notification-rule)
    * [Create a new vulnerability-based notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-new-vulnerability-based-notification-rule)
    * [Get a security filter](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-security-filter)
    * [Create a security filter](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-security-filter)
    * [Get all security filters](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-security-filters)
    * [Get details of a signal-based notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#get-details-of-a-signal-based-notification-rule)
    * [Get details of a vulnerability notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#get-details-of-a-vulnerability-notification-rule)
    * [Run a threat hunting job](https://docs.datadoghq.com/api/latest/aws-integration/#run-a-threat-hunting-job)
    * [List threat hunting jobs](https://docs.datadoghq.com/api/latest/aws-integration/#list-threat-hunting-jobs)
    * [Patch a signal-based notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#patch-a-signal-based-notification-rule)
    * [Patch a vulnerability-based notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#patch-a-vulnerability-based-notification-rule)
    * [Delete a signal-based notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-signal-based-notification-rule)
    * [Delete a vulnerability-based notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-vulnerability-based-notification-rule)
    * [Get a job's details](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-jobs-details)
    * [Cancel a threat hunting job](https://docs.datadoghq.com/api/latest/aws-integration/#cancel-a-threat-hunting-job)
    * [Delete an existing job](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-existing-job)
    * [Convert a job result to a signal](https://docs.datadoghq.com/api/latest/aws-integration/#convert-a-job-result-to-a-signal)
    * [Get a rule's version history](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-rules-version-history)
    * [List vulnerabilities](https://docs.datadoghq.com/api/latest/aws-integration/#list-vulnerabilities)
    * [List resource filters](https://docs.datadoghq.com/api/latest/aws-integration/#list-resource-filters)
    * [List vulnerable assets](https://docs.datadoghq.com/api/latest/aws-integration/#list-vulnerable-assets)
    * [Get SBOM](https://docs.datadoghq.com/api/latest/aws-integration/#get-sbom)
    * [Update resource filters](https://docs.datadoghq.com/api/latest/aws-integration/#update-resource-filters)
    * [List assets SBOMs](https://docs.datadoghq.com/api/latest/aws-integration/#list-assets-sboms)
    * [List scanned assets metadata](https://docs.datadoghq.com/api/latest/aws-integration/#list-scanned-assets-metadata)
    * [Returns a list of Secrets rules](https://docs.datadoghq.com/api/latest/aws-integration/#returns-a-list-of-secrets-rules)
    * [Ruleset get multiple](https://docs.datadoghq.com/api/latest/aws-integration/#ruleset-get-multiple)
    * [Search hist signals](https://docs.datadoghq.com/api/latest/aws-integration/#search-hist-signals)
    * [Get a hist signal's details](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-hist-signals-details)
    * [List hist signals](https://docs.datadoghq.com/api/latest/aws-integration/#list-hist-signals)
    * [Get a job's hist signals](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-jobs-hist-signals)
    * [Create cases for security findings](https://docs.datadoghq.com/api/latest/aws-integration/#create-cases-for-security-findings)
    * [Attach security findings to a case](https://docs.datadoghq.com/api/latest/aws-integration/#attach-security-findings-to-a-case)
    * [Detach security findings from their case](https://docs.datadoghq.com/api/latest/aws-integration/#detach-security-findings-from-their-case)
    * [Create Jira issues for security findings](https://docs.datadoghq.com/api/latest/aws-integration/#create-jira-issues-for-security-findings)
    * [Attach security findings to a Jira issue](https://docs.datadoghq.com/api/latest/aws-integration/#attach-security-findings-to-a-jira-issue)
  * [Sensitive Data Scanner](https://docs.datadoghq.com/api/latest/sensitive-data-scanner/)
    * [List Scanning Groups](https://docs.datadoghq.com/api/latest/aws-integration/#list-scanning-groups)
    * [Reorder Groups](https://docs.datadoghq.com/api/latest/aws-integration/#reorder-groups)
    * [List standard patterns](https://docs.datadoghq.com/api/latest/aws-integration/#list-standard-patterns)
    * [Create Scanning Group](https://docs.datadoghq.com/api/latest/aws-integration/#create-scanning-group)
    * [Update Scanning Group](https://docs.datadoghq.com/api/latest/aws-integration/#update-scanning-group)
    * [Delete Scanning Group](https://docs.datadoghq.com/api/latest/aws-integration/#delete-scanning-group)
    * [Create Scanning Rule](https://docs.datadoghq.com/api/latest/aws-integration/#create-scanning-rule)
    * [Update Scanning Rule](https://docs.datadoghq.com/api/latest/aws-integration/#update-scanning-rule)
    * [Delete Scanning Rule](https://docs.datadoghq.com/api/latest/aws-integration/#delete-scanning-rule)
  * [Service Accounts](https://docs.datadoghq.com/api/latest/service-accounts/)
    * [Create a service account](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-service-account)
    * [Get one application key for this service account](https://docs.datadoghq.com/api/latest/aws-integration/#get-one-application-key-for-this-service-account)
    * [Edit an application key for this service account](https://docs.datadoghq.com/api/latest/aws-integration/#edit-an-application-key-for-this-service-account)
    * [Delete an application key for this service account](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-application-key-for-this-service-account)
    * [Create an application key for this service account](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-application-key-for-this-service-account)
    * [List application keys for this service account](https://docs.datadoghq.com/api/latest/aws-integration/#list-application-keys-for-this-service-account)
  * [Service Checks](https://docs.datadoghq.com/api/latest/service-checks/)
    * [Submit a Service Check](https://docs.datadoghq.com/api/latest/aws-integration/#submit-a-service-check)
  * [Service Definition](https://docs.datadoghq.com/api/latest/service-definition/)
    * [Get all service definitions](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-service-definitions)
    * [Create or update service definition](https://docs.datadoghq.com/api/latest/aws-integration/#create-or-update-service-definition)
    * [Get a single service definition](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-single-service-definition)
    * [Delete a single service definition](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-single-service-definition)
  * [Service Dependencies](https://docs.datadoghq.com/api/latest/service-dependencies/)
    * [Get all APM service dependencies](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-apm-service-dependencies)
    * [Get one APM service's dependencies](https://docs.datadoghq.com/api/latest/aws-integration/#get-one-apm-services-dependencies)
  * [Service Level Objective Corrections](https://docs.datadoghq.com/api/latest/service-level-objective-corrections/)
    * [Create an SLO correction](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-slo-correction)
    * [Get all SLO corrections](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-slo-corrections)
    * [Get an SLO correction for an SLO](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-slo-correction-for-an-slo)
    * [Update an SLO correction](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-slo-correction)
    * [Delete an SLO correction](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-slo-correction)
  * [Service Level Objectives](https://docs.datadoghq.com/api/latest/service-level-objectives/)
    * [Create an SLO object](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-slo-object)
    * [Search for SLOs](https://docs.datadoghq.com/api/latest/aws-integration/#search-for-slos)
    * [Get all SLOs](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-slos)
    * [Update an SLO](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-slo)
    * [Get an SLO's details](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-slos-details)
    * [Delete an SLO](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-slo)
    * [Get an SLO's history](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-slos-history)
    * [Get Corrections For an SLO](https://docs.datadoghq.com/api/latest/aws-integration/#get-corrections-for-an-slo)
    * [Check if SLOs can be safely deleted](https://docs.datadoghq.com/api/latest/aws-integration/#check-if-slos-can-be-safely-deleted)
    * [Bulk Delete SLO Timeframes](https://docs.datadoghq.com/api/latest/aws-integration/#bulk-delete-slo-timeframes)
    * [Create a new SLO report](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-new-slo-report)
    * [Get SLO report status](https://docs.datadoghq.com/api/latest/aws-integration/#get-slo-report-status)
    * [Get SLO report](https://docs.datadoghq.com/api/latest/aws-integration/#get-slo-report)
  * [Service Scorecards](https://docs.datadoghq.com/api/latest/service-scorecards/)
    * [Create a new rule](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-new-rule)
    * [Create outcomes batch](https://docs.datadoghq.com/api/latest/aws-integration/#create-outcomes-batch)
    * [Update Scorecard outcomes asynchronously](https://docs.datadoghq.com/api/latest/aws-integration/#update-scorecard-outcomes-asynchronously)
    * [List all rule outcomes](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-rule-outcomes)
    * [List all rules](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-rules)
    * [Delete a rule](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-rule)
    * [Update an existing rule](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-existing-rule)
  * [Slack Integration](https://docs.datadoghq.com/api/latest/slack-integration/)
    * [Delete a Slack integration](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-slack-integration)
    * [Get all channels in a Slack integration](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-channels-in-a-slack-integration)
    * [Add channels to Slack integration](https://docs.datadoghq.com/api/latest/aws-integration/#add-channels-to-slack-integration)
    * [Create a Slack integration channel](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-slack-integration-channel)
    * [Create a Slack integration](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-slack-integration)
    * [Get a Slack integration channel](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-slack-integration-channel)
    * [Get info about a Slack integration](https://docs.datadoghq.com/api/latest/aws-integration/#get-info-about-a-slack-integration)
    * [Update a Slack integration channel](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-slack-integration-channel)
    * [Remove a Slack integration channel](https://docs.datadoghq.com/api/latest/aws-integration/#remove-a-slack-integration-channel)
  * [Snapshots](https://docs.datadoghq.com/api/latest/snapshots/)
    * [Take graph snapshots](https://docs.datadoghq.com/api/latest/aws-integration/#take-graph-snapshots)
  * [Software Catalog](https://docs.datadoghq.com/api/latest/software-catalog/)
    * [Get a list of entities](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-entities)
    * [Create or update entities](https://docs.datadoghq.com/api/latest/aws-integration/#create-or-update-entities)
    * [Delete a single entity](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-single-entity)
    * [Get a list of entity relations](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-entity-relations)
    * [Preview catalog entities](https://docs.datadoghq.com/api/latest/aws-integration/#preview-catalog-entities)
    * [Get a list of entity kinds](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-entity-kinds)
    * [Create or update kinds](https://docs.datadoghq.com/api/latest/aws-integration/#create-or-update-kinds)
    * [Delete a single kind](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-single-kind)
  * [Spa](https://docs.datadoghq.com/api/latest/spa/)
    * [Get SPA Recommendations with a shard parameter](https://docs.datadoghq.com/api/latest/aws-integration/#get-spa-recommendations-with-a-shard-parameter)
    * [Get SPA Recommendations](https://docs.datadoghq.com/api/latest/aws-integration/#get-spa-recommendations)
  * [Spans](https://docs.datadoghq.com/api/latest/spans/)
    * [Get a list of spans](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-list-of-spans)
    * [Search spans](https://docs.datadoghq.com/api/latest/aws-integration/#search-spans)
    * [Aggregate spans](https://docs.datadoghq.com/api/latest/aws-integration/#aggregate-spans)
  * [Spans Metrics](https://docs.datadoghq.com/api/latest/spans-metrics/)
    * [Get all span-based metrics](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-span-based-metrics)
    * [Create a span-based metric](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-span-based-metric)
    * [Get a span-based metric](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-span-based-metric)
    * [Update a span-based metric](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-span-based-metric)
    * [Delete a span-based metric](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-span-based-metric)
  * [Static Analysis](https://docs.datadoghq.com/api/latest/static-analysis/)
    * [POST request to resolve vulnerable symbols](https://docs.datadoghq.com/api/latest/aws-integration/#post-request-to-resolve-vulnerable-symbols)
    * [Post dependencies for analysis](https://docs.datadoghq.com/api/latest/aws-integration/#post-dependencies-for-analysis)
  * [Synthetics](https://docs.datadoghq.com/api/latest/synthetics/)
    * [Create an API test](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-api-test)
    * [Create a browser test](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-browser-test)
    * [Create a mobile test](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-mobile-test)
    * [Edit a Mobile test](https://docs.datadoghq.com/api/latest/aws-integration/#edit-a-mobile-test)
    * [Edit an API test](https://docs.datadoghq.com/api/latest/aws-integration/#edit-an-api-test)
    * [Edit a browser test](https://docs.datadoghq.com/api/latest/aws-integration/#edit-a-browser-test)
    * [Patch a Synthetic test](https://docs.datadoghq.com/api/latest/aws-integration/#patch-a-synthetic-test)
    * [Pause or start a test](https://docs.datadoghq.com/api/latest/aws-integration/#pause-or-start-a-test)
    * [Trigger tests from CI/CD pipelines](https://docs.datadoghq.com/api/latest/aws-integration/#trigger-tests-from-cicd-pipelines)
    * [Trigger Synthetic tests](https://docs.datadoghq.com/api/latest/aws-integration/#trigger-synthetic-tests)
    * [Get a Mobile test](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-mobile-test)
    * [Get an API test](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-api-test)
    * [Get a browser test](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-browser-test)
    * [Get the on-demand concurrency cap](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-on-demand-concurrency-cap)
    * [Get the list of all Synthetic tests](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-list-of-all-synthetic-tests)
    * [Save new value for on-demand concurrency cap](https://docs.datadoghq.com/api/latest/aws-integration/#save-new-value-for-on-demand-concurrency-cap)
    * [Get an API test result](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-api-test-result)
    * [Get a browser test result](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-browser-test-result)
    * [Get an API test's latest results summaries](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-api-tests-latest-results-summaries)
    * [Get a browser test's latest results summaries](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-browser-tests-latest-results-summaries)
    * [Get details of batch](https://docs.datadoghq.com/api/latest/aws-integration/#get-details-of-batch)
    * [Delete tests](https://docs.datadoghq.com/api/latest/aws-integration/#delete-tests)
    * [Get all global variables](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-global-variables)
    * [Create a global variable](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-global-variable)
    * [Get a global variable](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-global-variable)
    * [Patch a global variable](https://docs.datadoghq.com/api/latest/aws-integration/#patch-a-global-variable)
    * [Edit a global variable](https://docs.datadoghq.com/api/latest/aws-integration/#edit-a-global-variable)
    * [Delete a global variable](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-global-variable)
    * [Create a private location](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-private-location)
    * [Get a private location](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-private-location)
    * [Edit a private location](https://docs.datadoghq.com/api/latest/aws-integration/#edit-a-private-location)
    * [Get all locations (public and private)](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-locations-public-and-private)
    * [Delete a private location](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-private-location)
    * [Get a test configuration](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-test-configuration)
    * [Get the default locations](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-default-locations)
    * [Edit a test](https://docs.datadoghq.com/api/latest/aws-integration/#edit-a-test)
    * [Fetch uptime for multiple tests](https://docs.datadoghq.com/api/latest/aws-integration/#fetch-uptime-for-multiple-tests)
    * [Create a test](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-test)
    * [Search Synthetic tests](https://docs.datadoghq.com/api/latest/aws-integration/#search-synthetic-tests)
  * [Tags](https://docs.datadoghq.com/api/latest/tags/)
    * [Get Tags](https://docs.datadoghq.com/api/latest/aws-integration/#get-tags)
    * [Get host tags](https://docs.datadoghq.com/api/latest/aws-integration/#get-host-tags)
    * [Add tags to a host](https://docs.datadoghq.com/api/latest/aws-integration/#add-tags-to-a-host)
    * [Update host tags](https://docs.datadoghq.com/api/latest/aws-integration/#update-host-tags)
    * [Remove host tags](https://docs.datadoghq.com/api/latest/aws-integration/#remove-host-tags)
  * [Teams](https://docs.datadoghq.com/api/latest/teams/)
    * [Get all teams](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-teams)
    * [Create a team](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-team)
    * [Get a team](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-team)
    * [Update a team](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-team)
    * [Remove a team](https://docs.datadoghq.com/api/latest/aws-integration/#remove-a-team)
    * [Get team memberships](https://docs.datadoghq.com/api/latest/aws-integration/#get-team-memberships)
    * [Add a user to a team](https://docs.datadoghq.com/api/latest/aws-integration/#add-a-user-to-a-team)
    * [Remove a user from a team](https://docs.datadoghq.com/api/latest/aws-integration/#remove-a-user-from-a-team)
    * [Update a user's membership attributes on a team](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-users-membership-attributes-on-a-team)
    * [Get links for a team](https://docs.datadoghq.com/api/latest/aws-integration/#get-links-for-a-team)
    * [Create a team link](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-team-link)
    * [Get a team link](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-team-link)
    * [Update a team link](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-team-link)
    * [Remove a team link](https://docs.datadoghq.com/api/latest/aws-integration/#remove-a-team-link)
    * [Get permission settings for a team](https://docs.datadoghq.com/api/latest/aws-integration/#get-permission-settings-for-a-team)
    * [Get team sync configurations](https://docs.datadoghq.com/api/latest/aws-integration/#get-team-sync-configurations)
    * [Update permission setting for team](https://docs.datadoghq.com/api/latest/aws-integration/#update-permission-setting-for-team)
    * [Get user memberships](https://docs.datadoghq.com/api/latest/aws-integration/#get-user-memberships)
    * [Link Teams with GitHub Teams](https://docs.datadoghq.com/api/latest/aws-integration/#link-teams-with-github-teams)
    * [Add a member team](https://docs.datadoghq.com/api/latest/aws-integration/#add-a-member-team)
    * [Get team hierarchy links](https://docs.datadoghq.com/api/latest/aws-integration/#get-team-hierarchy-links)
    * [Get a team hierarchy link](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-team-hierarchy-link)
    * [Get all member teams](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-member-teams)
    * [Create a team hierarchy link](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-team-hierarchy-link)
    * [Remove a member team](https://docs.datadoghq.com/api/latest/aws-integration/#remove-a-member-team)
    * [Remove a team hierarchy link](https://docs.datadoghq.com/api/latest/aws-integration/#remove-a-team-hierarchy-link)
    * [List team connections](https://docs.datadoghq.com/api/latest/aws-integration/#list-team-connections)
    * [Create team connections](https://docs.datadoghq.com/api/latest/aws-integration/#create-team-connections)
    * [Delete team connections](https://docs.datadoghq.com/api/latest/aws-integration/#delete-team-connections)
    * [Get team notification rules](https://docs.datadoghq.com/api/latest/aws-integration/#get-team-notification-rules)
    * [Create team notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#create-team-notification-rule)
    * [Get team notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#get-team-notification-rule)
    * [Update team notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#update-team-notification-rule)
    * [Delete team notification rule](https://docs.datadoghq.com/api/latest/aws-integration/#delete-team-notification-rule)
  * [Test Optimization](https://docs.datadoghq.com/api/latest/test-optimization/)
    * [Search flaky tests](https://docs.datadoghq.com/api/latest/aws-integration/#search-flaky-tests)
  * [Timeboards](https://docs.datadoghq.com/api/latest/timeboards/)
  * [Usage Metering](https://docs.datadoghq.com/api/latest/usage-metering/)
    * [Get billing dimension mapping for usage endpoints](https://docs.datadoghq.com/api/latest/aws-integration/#get-billing-dimension-mapping-for-usage-endpoints)
    * [Get hourly usage by product family](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-by-product-family)
    * [Get hourly usage attribution](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-attribution)
    * [Get monthly usage attribution](https://docs.datadoghq.com/api/latest/aws-integration/#get-monthly-usage-attribution)
    * [Get active billing dimensions for cost attribution](https://docs.datadoghq.com/api/latest/aws-integration/#get-active-billing-dimensions-for-cost-attribution)
    * [Get billable usage across your account](https://docs.datadoghq.com/api/latest/aws-integration/#get-billable-usage-across-your-account)
    * [Get historical cost across your account](https://docs.datadoghq.com/api/latest/aws-integration/#get-historical-cost-across-your-account)
    * [Get Monthly Cost Attribution](https://docs.datadoghq.com/api/latest/aws-integration/#get-monthly-cost-attribution)
    * [Get estimated cost across your account](https://docs.datadoghq.com/api/latest/aws-integration/#get-estimated-cost-across-your-account)
    * [Get all custom metrics by hourly average](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-custom-metrics-by-hourly-average)
    * [Get projected cost across your account](https://docs.datadoghq.com/api/latest/aws-integration/#get-projected-cost-across-your-account)
    * [Get usage across your account](https://docs.datadoghq.com/api/latest/aws-integration/#get-usage-across-your-account)
    * [Get hourly usage for logs by index](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-logs-by-index)
    * [Get hourly logs usage by retention](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-logs-usage-by-retention)
    * [Get hourly usage for hosts and containers](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-hosts-and-containers)
    * [Get hourly usage for logs](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-logs)
    * [Get hourly usage for custom metrics](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-custom-metrics)
    * [Get hourly usage for indexed spans](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-indexed-spans)
    * [Get hourly usage for synthetics checks](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-synthetics-checks)
    * [Get hourly usage for synthetics API checks](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-synthetics-api-checks)
    * [Get hourly usage for synthetics browser checks](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-synthetics-browser-checks)
    * [Get hourly usage for Fargate](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-fargate)
    * [Get hourly usage for Lambda](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-lambda)
    * [Get hourly usage for RUM sessions](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-rum-sessions)
    * [Get hourly usage for network hosts](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-network-hosts)
    * [get hourly usage for network flows](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-network-flows)
    * [Get hourly usage for analyzed logs](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-analyzed-logs)
    * [Get hourly usage for SNMP devices](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-snmp-devices)
    * [Get hourly usage for ingested spans](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-ingested-spans)
    * [Get hourly usage for incident management](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-incident-management)
    * [Get hourly usage for IoT](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-iot)
    * [Get hourly usage for CSM Pro](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-csm-pro)
    * [Get hourly usage for cloud workload security](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-cloud-workload-security)
    * [Get hourly usage for database monitoring](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-database-monitoring)
    * [Get hourly usage for sensitive data scanner](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-sensitive-data-scanner)
    * [Get hourly usage for RUM units](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-rum-units)
    * [Get hourly usage for profiled hosts](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-profiled-hosts)
    * [Get hourly usage for CI visibility](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-ci-visibility)
    * [Get hourly usage for online archive](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-online-archive)
    * [Get hourly usage for Lambda traced invocations](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-lambda-traced-invocations)
    * [Get hourly usage for application security](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-application-security)
    * [Get hourly usage for observability pipelines](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-observability-pipelines)
    * [Get hourly usage for audit logs](https://docs.datadoghq.com/api/latest/aws-integration/#get-hourly-usage-for-audit-logs)
    * [Get the list of available daily custom reports](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-list-of-available-daily-custom-reports)
    * [Get specified daily custom reports](https://docs.datadoghq.com/api/latest/aws-integration/#get-specified-daily-custom-reports)
    * [Get the list of available monthly custom reports](https://docs.datadoghq.com/api/latest/aws-integration/#get-the-list-of-available-monthly-custom-reports)
    * [Get specified monthly custom reports](https://docs.datadoghq.com/api/latest/aws-integration/#get-specified-monthly-custom-reports)
    * [Get cost across multi-org account](https://docs.datadoghq.com/api/latest/aws-integration/#get-cost-across-multi-org-account)
  * [Users](https://docs.datadoghq.com/api/latest/users/)
    * [Create a user](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-user)
    * [List all users](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-users)
    * [Get user details](https://docs.datadoghq.com/api/latest/aws-integration/#get-user-details)
    * [Update a user](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-user)
    * [Disable a user](https://docs.datadoghq.com/api/latest/aws-integration/#disable-a-user)
    * [Get a user organization](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-user-organization)
    * [Get a user permissions](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-user-permissions)
    * [Send invitation emails](https://docs.datadoghq.com/api/latest/aws-integration/#send-invitation-emails)
    * [Get a user invitation](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-user-invitation)
  * [Webhooks Integration](https://docs.datadoghq.com/api/latest/webhooks-integration/)
    * [Create a webhooks integration](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-webhooks-integration)
    * [Get a webhook integration](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-webhook-integration)
    * [Update a webhook](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-webhook)
    * [Delete a webhook](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-webhook)
    * [Create a custom variable](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-custom-variable)
    * [Get a custom variable](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-custom-variable)
    * [Update a custom variable](https://docs.datadoghq.com/api/latest/aws-integration/#update-a-custom-variable)
    * [Delete a custom variable](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-custom-variable)
  * [Workflow Automation](https://docs.datadoghq.com/api/latest/workflow-automation/)
    * [Get an existing Workflow](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-existing-workflow)
    * [Create a Workflow](https://docs.datadoghq.com/api/latest/aws-integration/#create-a-workflow)
    * [Update an existing Workflow](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-existing-workflow)
    * [Delete an existing Workflow](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-existing-workflow)
    * [List workflow instances](https://docs.datadoghq.com/api/latest/aws-integration/#list-workflow-instances)
    * [Execute a workflow](https://docs.datadoghq.com/api/latest/aws-integration/#execute-a-workflow)
    * [Get a workflow instance](https://docs.datadoghq.com/api/latest/aws-integration/#get-a-workflow-instance)
    * [Cancel a workflow instance](https://docs.datadoghq.com/api/latest/aws-integration/#cancel-a-workflow-instance)


[Docs](https://docs.datadoghq.com/) > [API Reference](https://docs.datadoghq.com/api/latest/) > [AWS Integration](https://docs.datadoghq.com/api/latest/aws-integration/)
Language
English
[English](https://docs.datadoghq.com/api/latest/aws-integration/?lang_pref=en) [Français](https://docs.datadoghq.com/fr/api/latest/aws-integration/?lang_pref=fr) [日本語](https://docs.datadoghq.com/ja/api/latest/aws-integration/?lang_pref=ja) [한국어](https://docs.datadoghq.com/ko/api/latest/aws-integration/?lang_pref=ko) [Español](https://docs.datadoghq.com/es/api/latest/aws-integration/?lang_pref=es)
Datadog Site
[![Site help](https://datadog-docs.imgix.net/images/icons/help-druids.svg)](https://docs.datadoghq.com/getting_started/site/)
US1
US1 US3 US5 EU AP1 AP2 US1-FED
# AWS Integration
Configure your Datadog-AWS integration directly through the Datadog API. For more information, see the [AWS integration page](https://docs.datadoghq.com/integrations/amazon_web_services).
## [Get all AWS tag filters](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-aws-tag-filters)
  * [v1 (deprecated)](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-aws-tag-filters-v1)


GET https://api.ap1.datadoghq.com/api/v1/integration/aws/filteringhttps://api.ap2.datadoghq.com/api/v1/integration/aws/filteringhttps://api.datadoghq.eu/api/v1/integration/aws/filteringhttps://api.ddog-gov.com/api/v1/integration/aws/filteringhttps://api.datadoghq.com/api/v1/integration/aws/filteringhttps://api.us3.datadoghq.com/api/v1/integration/aws/filteringhttps://api.us5.datadoghq.com/api/v1/integration/aws/filtering
### Overview
Get all AWS tag filters. This endpoint requires the `aws_configuration_read` permission.
### Arguments
#### Query Strings
Name
Type
Description
account_id [_required_]
string
Only return AWS filters that matches this `account_id`.
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSTagFilters-200-v1)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSTagFilters-400-v1)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSTagFilters-403-v1)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSTagFilters-429-v1)


OK
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


An array of tag filter rules by `namespace` and tag filter string.
Expand All
Field
Type
Description
[object]
An array of tag filters.
namespace
enum
The namespace associated with the tag filter entry. Allowed enum values: `elb,application_elb,sqs,rds,custom,network_elb,lambda,step_functions`
tag_filter_str
string
The tag filter string.
```
{
  "filters": [
    {
      "namespace": "string",
      "tag_filter_str": "prod*"
    }
  ]
}
```

Copy
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Authentication Error
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Get all AWS tag filters
Copy
```
                  # Required query arguments  
export account_id="CHANGE_ME"  
# Curl command  
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v1/integration/aws/filtering?account_id=${account_id}" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"  

                
```

#####  Get all AWS tag filters
```
"""
Get all AWS tag filters returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v1.api.aws_integration_api import AWSIntegrationApi

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.list_aws_tag_filters(
        account_id="account_id",
    )

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Get all AWS tag filters
```
# Get all AWS tag filters returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::AWSIntegrationAPI.new
p api_instance.list_aws_tag_filters("account_id")

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Get all AWS tag filters
```
// Get all AWS tag filters returns "OK" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV1"
)

func main() {
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV1.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.ListAWSTagFilters(ctx, "account_id")

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.ListAWSTagFilters`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.ListAWSTagFilters`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Get all AWS tag filters
```
// Get all AWS tag filters returns "OK" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v1.api.AwsIntegrationApi;
import com.datadog.api.client.v1.model.AWSTagFilterListResponse;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    try {
      AWSTagFilterListResponse result = apiInstance.listAWSTagFilters("account_id");
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#listAWSTagFilters");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Get all AWS tag filters
```
// Get all AWS tag filters returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV1::api_aws_integration::AWSIntegrationAPI;

#[tokio::main]
async fn main() {
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.list_aws_tag_filters("account_id".to_string()).await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Get all AWS tag filters
```
/**
 * Get all AWS tag filters returns "OK" response
 */

import { client, v1 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v1.AWSIntegrationApi(configuration);

const params: v1.AWSIntegrationApiListAWSTagFiltersRequest = {
  accountId: "account_id",
};

apiInstance
  .listAWSTagFilters(params)
  .then((data: v1.AWSTagFilterListResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

* * *
## [List available namespaces](https://docs.datadoghq.com/api/latest/aws-integration/#list-available-namespaces)
  * [v2 (latest)](https://docs.datadoghq.com/api/latest/aws-integration/#list-available-namespaces-v2)


GET https://api.ap1.datadoghq.com/api/v2/integration/aws/available_namespaceshttps://api.ap2.datadoghq.com/api/v2/integration/aws/available_namespaceshttps://api.datadoghq.eu/api/v2/integration/aws/available_namespaceshttps://api.ddog-gov.com/api/v2/integration/aws/available_namespaceshttps://api.datadoghq.com/api/v2/integration/aws/available_namespaceshttps://api.us3.datadoghq.com/api/v2/integration/aws/available_namespaceshttps://api.us5.datadoghq.com/api/v2/integration/aws/available_namespaces
### Overview
Get a list of available AWS CloudWatch namespaces that can send metrics to Datadog. This endpoint requires the `aws_configuration_read` permission.
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSNamespaces-200-v2)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSNamespaces-403-v2)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSNamespaces-429-v2)


AWS Namespaces List object
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


AWS Namespaces response body.
Expand All
Field
Type
Description
_required_]
object
AWS Namespaces response data.
object
AWS Namespaces response attributes.
namespaces [_required_]
[string]
AWS CloudWatch namespace.
id [_required_]
string
The `AWSNamespacesResponseData` `id`.
default: `namespaces`
type [_required_]
enum
The `AWSNamespacesResponseData` `type`. Allowed enum values: `namespaces`
default: `namespaces`
```
{
  "data": {
    "attributes": {
      "namespaces": [
        "AWS/ApiGateway"
      ]
    },
    "id": "namespaces",
    "type": "namespaces"
  }
}
```

Copy
Forbidden
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  List available namespaces
Copy
```
                  # Curl command  
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/aws/available_namespaces" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"  

                
```

#####  List available namespaces
```
"""
List available namespaces returns "AWS Namespaces List object" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.aws_integration_api import AWSIntegrationApi

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.list_aws_namespaces()

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  List available namespaces
```
# List available namespaces returns "AWS Namespaces List object" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::AWSIntegrationAPI.new
p api_instance.list_aws_namespaces()

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  List available namespaces
```
// List available namespaces returns "AWS Namespaces List object" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)

func main() {
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV2.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.ListAWSNamespaces(ctx)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.ListAWSNamespaces`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.ListAWSNamespaces`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  List available namespaces
```
// List available namespaces returns "AWS Namespaces List object" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.AwsIntegrationApi;
import com.datadog.api.client.v2.model.AWSNamespacesResponse;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    try {
      AWSNamespacesResponse result = apiInstance.listAWSNamespaces();
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#listAWSNamespaces");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  List available namespaces
```
// List available namespaces returns "AWS Namespaces List object" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_aws_integration::AWSIntegrationAPI;

#[tokio::main]
async fn main() {
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.list_aws_namespaces().await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  List available namespaces
```
/**
 * List available namespaces returns "AWS Namespaces List object" response
 */

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AWSIntegrationApi(configuration);

apiInstance
  .listAWSNamespaces()
  .then((data: v2.AWSNamespacesResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

* * *
## [Set an AWS tag filter](https://docs.datadoghq.com/api/latest/aws-integration/#set-an-aws-tag-filter)
  * [v1 (deprecated)](https://docs.datadoghq.com/api/latest/aws-integration/#set-an-aws-tag-filter-v1)


POST https://api.ap1.datadoghq.com/api/v1/integration/aws/filteringhttps://api.ap2.datadoghq.com/api/v1/integration/aws/filteringhttps://api.datadoghq.eu/api/v1/integration/aws/filteringhttps://api.ddog-gov.com/api/v1/integration/aws/filteringhttps://api.datadoghq.com/api/v1/integration/aws/filteringhttps://api.us3.datadoghq.com/api/v1/integration/aws/filteringhttps://api.us5.datadoghq.com/api/v1/integration/aws/filtering
### Overview
Set an AWS tag filter. This endpoint requires the `aws_configuration_edit` permission.
### Request
#### Body Data (required)
Set an AWS tag filter using an `aws_account_identifier`, `namespace`, and filtering string. Namespace options are `application_elb`, `elb`, `lambda`, `network_elb`, `rds`, `sqs`, and `custom`.
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Expand All
Field
Type
Description
account_id
string
Your AWS Account ID without dashes.
namespace
enum
The namespace associated with the tag filter entry. Allowed enum values: `elb,application_elb,sqs,rds,custom,network_elb,lambda,step_functions`
tag_filter_str
string
The tag filter string.
```
{
  "account_id": "123456789012",
  "namespace": "string",
  "tag_filter_str": "prod*"
}
```

Copy
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSTagFilter-200-v1)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSTagFilter-400-v1)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSTagFilter-403-v1)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSTagFilter-429-v1)


OK
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Expand All
Field
Type
Description
No response body
```
{}
```

Copy
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Authentication Error
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Set an AWS tag filter
Copy
```
                  # Curl command  
curl -X POST "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v1/integration/aws/filtering" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{}
EOF  

                
```

#####  Set an AWS tag filter
```
"""
Set an AWS tag filter returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v1.api.aws_integration_api import AWSIntegrationApi
from datadog_api_client.v1.model.aws_namespace import AWSNamespace
from datadog_api_client.v1.model.aws_tag_filter_create_request import AWSTagFilterCreateRequest

body = AWSTagFilterCreateRequest(
    account_id="123456789012",
    namespace=AWSNamespace.ELB,
    tag_filter_str="prod*",
)

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.create_aws_tag_filter(body=body)

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Set an AWS tag filter
```
# Set an AWS tag filter returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::AWSIntegrationAPI.new

body = DatadogAPIClient::V1::AWSTagFilterCreateRequest.new({
  account_id: "123456789012",
  namespace: DatadogAPIClient::V1::AWSNamespace::ELB,
  tag_filter_str: "prod*",
})
p api_instance.create_aws_tag_filter(body)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Set an AWS tag filter
```
// Set an AWS tag filter returns "OK" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV1"
)

func main() {
	body := datadogV1.AWSTagFilterCreateRequest{
		AccountId:    datadog.PtrString("123456789012"),
		Namespace:    datadogV1.AWSNAMESPACE_ELB.Ptr(),
		TagFilterStr: datadog.PtrString("prod*"),
	}
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV1.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.CreateAWSTagFilter(ctx, body)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.CreateAWSTagFilter`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.CreateAWSTagFilter`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Set an AWS tag filter
```
// Set an AWS tag filter returns "OK" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v1.api.AwsIntegrationApi;
import com.datadog.api.client.v1.model.AWSNamespace;
import com.datadog.api.client.v1.model.AWSTagFilterCreateRequest;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    AWSTagFilterCreateRequest body =
        new AWSTagFilterCreateRequest()
            .accountId("123456789012")
            .namespace(AWSNamespace.ELB)
            .tagFilterStr("prod*");

    try {
      apiInstance.createAWSTagFilter(body);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#createAWSTagFilter");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Set an AWS tag filter
```
// Set an AWS tag filter returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV1::api_aws_integration::AWSIntegrationAPI;
use datadog_api_client::datadogV1::model::AWSNamespace;
use datadog_api_client::datadogV1::model::AWSTagFilterCreateRequest;

#[tokio::main]
async fn main() {
    let body = AWSTagFilterCreateRequest::new()
        .account_id("123456789012".to_string())
        .namespace(AWSNamespace::ELB)
        .tag_filter_str("prod*".to_string());
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.create_aws_tag_filter(body).await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Set an AWS tag filter
```
/**
 * Set an AWS tag filter returns "OK" response
 */

import { client, v1 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v1.AWSIntegrationApi(configuration);

const params: v1.AWSIntegrationApiCreateAWSTagFilterRequest = {
  body: {
    accountId: "123456789012",
    namespace: "elb",
    tagFilterStr: "prod*",
  },
};

apiInstance
  .createAWSTagFilter(params)
  .then((data: any) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

* * *
## [Delete a tag filtering entry](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-tag-filtering-entry)
  * [v1 (deprecated)](https://docs.datadoghq.com/api/latest/aws-integration/#delete-a-tag-filtering-entry-v1)


DELETE https://api.ap1.datadoghq.com/api/v1/integration/aws/filteringhttps://api.ap2.datadoghq.com/api/v1/integration/aws/filteringhttps://api.datadoghq.eu/api/v1/integration/aws/filteringhttps://api.ddog-gov.com/api/v1/integration/aws/filteringhttps://api.datadoghq.com/api/v1/integration/aws/filteringhttps://api.us3.datadoghq.com/api/v1/integration/aws/filteringhttps://api.us5.datadoghq.com/api/v1/integration/aws/filtering
### Overview
Delete a tag filtering entry. This endpoint requires the `aws_configuration_edit` permission.
### Request
#### Body Data (required)
Delete a tag filtering entry for a given AWS account and `dd-aws` namespace.
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Expand All
Field
Type
Description
account_id
string
The unique identifier of your AWS account.
namespace
enum
The namespace associated with the tag filter entry. Allowed enum values: `elb,application_elb,sqs,rds,custom,network_elb,lambda,step_functions`
```
{
  "account_id": "FAKEAC0FAKEAC2FAKEAC",
  "namespace": "string"
}
```

Copy
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSTagFilter-200-v1)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSTagFilter-400-v1)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSTagFilter-403-v1)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSTagFilter-429-v1)


OK
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Expand All
Field
Type
Description
No response body
```
{}
```

Copy
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Authentication Error
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Delete a tag filtering entry
Copy
```
                  # Curl command  
curl -X DELETE "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v1/integration/aws/filtering" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{}
EOF  

                
```

#####  Delete a tag filtering entry
```
"""
Delete a tag filtering entry returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v1.api.aws_integration_api import AWSIntegrationApi
from datadog_api_client.v1.model.aws_namespace import AWSNamespace
from datadog_api_client.v1.model.aws_tag_filter_delete_request import AWSTagFilterDeleteRequest

body = AWSTagFilterDeleteRequest(
    account_id="FAKEAC0FAKEAC2FAKEAC",
    namespace=AWSNamespace.ELB,
)

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.delete_aws_tag_filter(body=body)

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Delete a tag filtering entry
```
# Delete a tag filtering entry returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::AWSIntegrationAPI.new

body = DatadogAPIClient::V1::AWSTagFilterDeleteRequest.new({
  account_id: "FAKEAC0FAKEAC2FAKEAC",
  namespace: DatadogAPIClient::V1::AWSNamespace::ELB,
})
p api_instance.delete_aws_tag_filter(body)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Delete a tag filtering entry
```
// Delete a tag filtering entry returns "OK" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV1"
)

func main() {
	body := datadogV1.AWSTagFilterDeleteRequest{
		AccountId: datadog.PtrString("FAKEAC0FAKEAC2FAKEAC"),
		Namespace: datadogV1.AWSNAMESPACE_ELB.Ptr(),
	}
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV1.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.DeleteAWSTagFilter(ctx, body)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.DeleteAWSTagFilter`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.DeleteAWSTagFilter`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Delete a tag filtering entry
```
// Delete a tag filtering entry returns "OK" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v1.api.AwsIntegrationApi;
import com.datadog.api.client.v1.model.AWSNamespace;
import com.datadog.api.client.v1.model.AWSTagFilterDeleteRequest;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    AWSTagFilterDeleteRequest body =
        new AWSTagFilterDeleteRequest()
            .accountId("FAKEAC0FAKEAC2FAKEAC")
            .namespace(AWSNamespace.ELB);

    try {
      apiInstance.deleteAWSTagFilter(body);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#deleteAWSTagFilter");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Delete a tag filtering entry
```
// Delete a tag filtering entry returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV1::api_aws_integration::AWSIntegrationAPI;
use datadog_api_client::datadogV1::model::AWSNamespace;
use datadog_api_client::datadogV1::model::AWSTagFilterDeleteRequest;

#[tokio::main]
async fn main() {
    let body = AWSTagFilterDeleteRequest::new()
        .account_id("FAKEAC0FAKEAC2FAKEAC".to_string())
        .namespace(AWSNamespace::ELB);
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.delete_aws_tag_filter(body).await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Delete a tag filtering entry
```
/**
 * Delete a tag filtering entry returns "OK" response
 */

import { client, v1 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v1.AWSIntegrationApi(configuration);

const params: v1.AWSIntegrationApiDeleteAWSTagFilterRequest = {
  body: {
    accountId: "FAKEAC0FAKEAC2FAKEAC",
    namespace: "elb",
  },
};

apiInstance
  .deleteAWSTagFilter(params)
  .then((data: any) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

* * *
## [Get an AWS integration by config ID](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-aws-integration-by-config-id)
  * [v2 (latest)](https://docs.datadoghq.com/api/latest/aws-integration/#get-an-aws-integration-by-config-id-v2)


GET https://api.ap1.datadoghq.com/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.ap2.datadoghq.com/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.datadoghq.eu/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.ddog-gov.com/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.datadoghq.com/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.us3.datadoghq.com/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.us5.datadoghq.com/api/v2/integration/aws/accounts/{aws_account_config_id}
### Overview
Get an AWS Account Integration Config by config ID. This endpoint requires the `aws_configuration_read` permission.
### Arguments
#### Path Parameters
Name
Type
Description
aws_account_config_id [_required_]
string
Unique Datadog ID of the AWS Account Integration Config. To get the config ID for an account, use the [List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations) endpoint and query by AWS Account ID.
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#GetAWSAccount-200-v2)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#GetAWSAccount-400-v2)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#GetAWSAccount-403-v2)
  * [404](https://docs.datadoghq.com/api/latest/aws-integration/#GetAWSAccount-404-v2)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#GetAWSAccount-429-v2)


AWS Account object
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


AWS Account response body.
Expand All
Field
Type
Description
_required_]
object
AWS Account response data.
object
AWS Account response attributes.
account_tags
[string]
Tags to apply to all hosts and metrics reporting for this account. Defaults to `[]`.
<oneOf>
AWS Authentication config.
object
AWS Authentication config to integrate your account using an access key pair.
access_key_id [_required_]
string
AWS Access Key ID.
secret_access_key
string
AWS Secret Access Key.
object
AWS Authentication config to integrate your account using an IAM role.
external_id
string
AWS IAM External ID for associated role.
role_name [_required_]
string
AWS IAM Role name.
aws_account_id [_required_]
string
AWS Account ID.
aws_partition
enum
AWS partition your AWS account is scoped to. Defaults to `aws`. See [Partitions](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/partitions.html) in the AWS documentation for more information. Allowed enum values: `aws,aws-cn,aws-us-gov`
<oneOf>
AWS Regions to collect data from. Defaults to `include_all`.
object
Include all regions. Defaults to `true`.
include_all [_required_]
boolean
Include all regions.
object
Include only these regions.
include_only [_required_]
[string]
Include only these regions.
created_at
date-time
Timestamp of when the account integration was created.
object
AWS Logs Collection config.
object
Log Autosubscription configuration for Datadog Forwarder Lambda functions. Automatically set up triggers for existing and new logs for some services, ensuring no logs from new resources are missed and saving time spent on manual configuration.
lambdas
[string]
List of Datadog Lambda Log Forwarder ARNs in your AWS account. Defaults to `[]`.
object
Log source configuration.
[object]
List of AWS log source tag filters. Defaults to `[]`.
source
string
The AWS log source to which the tag filters defined in `tags` are applied.
tags
[string]
The AWS resource tags to filter on for the log source specified by `source`.
sources
[string]
List of service IDs set to enable automatic log collection. Discover the list of available services with the [Get list of AWS log ready services](https://docs.datadoghq.com/api/latest/aws-logs-integration/#get-list-of-aws-log-ready-services) endpoint.
object
AWS Metrics Collection config.
automute_enabled
boolean
Enable EC2 automute for AWS metrics. Defaults to `true`.
collect_cloudwatch_alarms
boolean
Enable CloudWatch alarms collection. Defaults to `false`.
collect_custom_metrics
boolean
Enable custom metrics collection. Defaults to `false`.
enabled
boolean
Enable AWS metrics collection. Defaults to `true`.
<oneOf>
AWS Metrics namespace filters. Defaults to `exclude_only`.
object
Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`. `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
exclude_only [_required_]
[string]
Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`. `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
object
Include only these namespaces.
include_only [_required_]
[string]
Include only these namespaces.
[object]
AWS Metrics collection tag filters list. Defaults to `[]`.
namespace
string
The AWS service for which the tag filters defined in `tags` will be applied.
tags
[string]
The AWS resource tags to filter on for the service specified by `namespace`.
modified_at
date-time
Timestamp of when the account integration was updated.
object
AWS Resources Collection config.
cloud_security_posture_management_collection
boolean
Enable Cloud Security Management to scan AWS resources for vulnerabilities, misconfigurations, identity risks, and compliance violations. Defaults to `false`. Requires `extended_collection` to be set to `true`.
extended_collection
boolean
Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Defaults to `true`. Required for `cloud_security_posture_management_collection`.
object
AWS Traces Collection config.
<oneOf>
AWS X-Ray services to collect traces from. Defaults to `include_only`.
object
Include all services.
include_all [_required_]
boolean
Include all services.
object
Include only these services. Defaults to `[]`.
include_only [_required_]
[string]
Include only these services.
id [_required_]
string
Unique Datadog ID of the AWS Account Integration Config. To get the config ID for an account, use the [List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations) endpoint and query by AWS Account ID.
type [_required_]
enum
AWS Account resource type. Allowed enum values: `account`
default: `account`
```
{
  "data": {
    "attributes": {
      "account_tags": [
        "env:prod"
      ],
      "auth_config": {
        "access_key_id": "AKIAIOSFODNN7EXAMPLE",
        "secret_access_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
      },
      "aws_account_id": "123456789012",
      "aws_partition": "aws",
      "aws_regions": {
        "include_all": true
      },
      "created_at": "2019-09-19T10:00:00.000Z",
      "logs_config": {
        "lambda_forwarder": {
          "lambdas": [
            "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"
          ],
          "log_source_config": {
            "tag_filters": [
              {
                "source": "s3",
                "tags": [
                  "env:prod"
                ]
              }
            ]
          },
          "sources": [
            "s3"
          ]
        }
      },
      "metrics_config": {
        "automute_enabled": true,
        "collect_cloudwatch_alarms": false,
        "collect_custom_metrics": false,
        "enabled": true,
        "namespace_filters": {
          "exclude_only": [
            "AWS/SQS",
            "AWS/ElasticMapReduce",
            "AWS/Usage"
          ]
        },
        "tag_filters": [
          {
            "namespace": "AWS/EC2",
            "tags": [
              "datadog:true"
            ]
          }
        ]
      },
      "modified_at": "2019-09-19T10:00:00.000Z",
      "resources_config": {
        "cloud_security_posture_management_collection": false,
        "extended_collection": true
      },
      "traces_config": {
        "xray_services": {
          "include_all": false
        }
      }
    },
    "id": "00000000-abcd-0001-0000-000000000000",
    "type": "account"
  }
}
```

Copy
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Forbidden
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Not Found
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Get an AWS integration by config ID
Copy
```
                  # Path parameters  
export aws_account_config_id="CHANGE_ME"  
# Curl command  
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/aws/accounts/${aws_account_config_id}" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"  

                
```

#####  Get an AWS integration by config ID
```
"""
Get an AWS integration by config ID returns "AWS Account object" response
"""

from os import environ
from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.aws_integration_api import AWSIntegrationApi

# there is a valid "aws_account_v2" in the system
AWS_ACCOUNT_V2_DATA_ID = environ["AWS_ACCOUNT_V2_DATA_ID"]

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.get_aws_account(
        aws_account_config_id=AWS_ACCOUNT_V2_DATA_ID,
    )

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Get an AWS integration by config ID
```
# Get an AWS integration by config ID returns "AWS Account object" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::AWSIntegrationAPI.new

# there is a valid "aws_account_v2" in the system
AWS_ACCOUNT_V2_DATA_ID = ENV["AWS_ACCOUNT_V2_DATA_ID"]
p api_instance.get_aws_account(AWS_ACCOUNT_V2_DATA_ID)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Get an AWS integration by config ID
```
// Get an AWS integration by config ID returns "AWS Account object" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)

func main() {
	// there is a valid "aws_account_v2" in the system
	AwsAccountV2DataID := os.Getenv("AWS_ACCOUNT_V2_DATA_ID")

	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV2.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.GetAWSAccount(ctx, AwsAccountV2DataID)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.GetAWSAccount`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.GetAWSAccount`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Get an AWS integration by config ID
```
// Get an AWS integration by config ID returns "AWS Account object" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.AwsIntegrationApi;
import com.datadog.api.client.v2.model.AWSAccountResponse;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    // there is a valid "aws_account_v2" in the system
    String AWS_ACCOUNT_V2_DATA_ID = System.getenv("AWS_ACCOUNT_V2_DATA_ID");

    try {
      AWSAccountResponse result = apiInstance.getAWSAccount(AWS_ACCOUNT_V2_DATA_ID);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#getAWSAccount");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Get an AWS integration by config ID
```
// Get an AWS integration by config ID returns "AWS Account object" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_aws_integration::AWSIntegrationAPI;

#[tokio::main]
async fn main() {
    // there is a valid "aws_account_v2" in the system
    let aws_account_v2_data_id = std::env::var("AWS_ACCOUNT_V2_DATA_ID").unwrap();
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.get_aws_account(aws_account_v2_data_id.clone()).await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Get an AWS integration by config ID
```
/**
 * Get an AWS integration by config ID returns "AWS Account object" response
 */

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AWSIntegrationApi(configuration);

// there is a valid "aws_account_v2" in the system
const AWS_ACCOUNT_V2_DATA_ID = process.env.AWS_ACCOUNT_V2_DATA_ID as string;

const params: v2.AWSIntegrationApiGetAWSAccountRequest = {
  awsAccountConfigId: AWS_ACCOUNT_V2_DATA_ID,
};

apiInstance
  .getAWSAccount(params)
  .then((data: v2.AWSAccountResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

* * *
## [Generate a new external ID](https://docs.datadoghq.com/api/latest/aws-integration/#generate-a-new-external-id)
  * [v1](https://docs.datadoghq.com/api/latest/aws-integration/#generate-a-new-external-id-v1)
  * [v2 (latest)](https://docs.datadoghq.com/api/latest/aws-integration/#generate-a-new-external-id-v2)


PUT https://api.ap1.datadoghq.com/api/v1/integration/aws/generate_new_external_idhttps://api.ap2.datadoghq.com/api/v1/integration/aws/generate_new_external_idhttps://api.datadoghq.eu/api/v1/integration/aws/generate_new_external_idhttps://api.ddog-gov.com/api/v1/integration/aws/generate_new_external_idhttps://api.datadoghq.com/api/v1/integration/aws/generate_new_external_idhttps://api.us3.datadoghq.com/api/v1/integration/aws/generate_new_external_idhttps://api.us5.datadoghq.com/api/v1/integration/aws/generate_new_external_id
### Overview
**This endpoint is deprecated - use the V2 endpoints instead.** Generate a new AWS external ID for a given AWS account ID and role name pair. This endpoint requires the `aws_configuration_edit` permission.
### Request
#### Body Data (required)
Your Datadog role delegation name. For more information about your AWS account Role name, see the [Datadog AWS integration configuration info](https://docs.datadoghq.com/integrations/amazon_web_services/#setup).
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Expand All
Field
Type
Description
access_key_id
string
Your AWS access key ID. Only required if your AWS account is a GovCloud or China account.
account_id
string
Your AWS Account ID without dashes.
object
An object (in the form `{"namespace1":true/false, "namespace2":true/false}`) containing user-supplied overrides for AWS namespace metric collection. **Important** : This field only contains namespaces explicitly configured through API calls, not the comprehensive enabled or disabled status of all namespaces. If a namespace is absent from this field, it uses Datadog's internal defaults (all namespaces enabled by default, except `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage`). For a complete view of all namespace statuses, use the V2 AWS Integration API instead.
<any-key>
boolean
A list of additional properties.
cspm_resource_collection_enabled
boolean
Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general `resource_collection`.
excluded_regions
[string]
An array of [AWS regions](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints) to exclude from metrics collection.
extended_resource_collection_enabled
boolean
Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Required for `cspm_resource_collection`.
filter_tags
[string]
The array of EC2 tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from EC2. Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used. Only hosts that match one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be excluded by adding `!` before the tag. For example, `env:production,instance-type:c1.*,!region:us-east-1`
host_tags
[string]
Array of tags (in the form `key:value`) to add to all hosts and metrics reporting through this integration.
metrics_collection_enabled
boolean
Whether Datadog collects metrics for this AWS account.
default: `true`
resource_collection_enabled
boolean
**DEPRECATED** : Deprecated in favor of 'extended_resource_collection_enabled'. Whether Datadog collects a standard set of resources from your AWS account.
role_name
string
Your Datadog role delegation name.
secret_access_key
string
Your AWS secret access key. Only required if your AWS account is a GovCloud or China account.
```
{
  "access_key_id": "string",
  "account_id": "123456789012",
  "account_specific_namespace_rules": {
    "<any-key>": false
  },
  "cspm_resource_collection_enabled": true,
  "excluded_regions": [
    "us-east-1",
    "us-west-2"
  ],
  "extended_resource_collection_enabled": true,
  "filter_tags": [
    "$KEY:$VALUE"
  ],
  "host_tags": [
    "$KEY:$VALUE"
  ],
  "metrics_collection_enabled": false,
  "resource_collection_enabled": true,
  "role_name": "DatadogAWSIntegrationRole",
  "secret_access_key": "string"
}
```

Copy
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#CreateNewAWSExternalID-200-v1)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#CreateNewAWSExternalID-400-v1)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#CreateNewAWSExternalID-403-v1)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#CreateNewAWSExternalID-429-v1)


OK
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


The Response returned by the AWS Create Account call.
Expand All
Field
Type
Description
external_id
string
AWS external_id.
```
{
  "external_id": "string"
}
```

Copy
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Authentication Error
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Generate a new external ID
Copy
```
                  # Curl command  
curl -X PUT "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v1/integration/aws/generate_new_external_id" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{}
EOF  

                
```

#####  Generate a new external ID
```
"""
Generate a new external ID returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v1.api.aws_integration_api import AWSIntegrationApi
from datadog_api_client.v1.model.aws_account import AWSAccount

body = AWSAccount(
    account_id="123456789012",
    account_specific_namespace_rules=dict(
        auto_scaling=False,
        opswork=False,
    ),
    cspm_resource_collection_enabled=True,
    excluded_regions=[
        "us-east-1",
        "us-west-2",
    ],
    extended_resource_collection_enabled=True,
    filter_tags=[
        "$KEY:$VALUE",
    ],
    host_tags=[
        "$KEY:$VALUE",
    ],
    metrics_collection_enabled=False,
    resource_collection_enabled=True,
    role_name="DatadogAWSIntegrationRole",
)

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.create_new_aws_external_id(body=body)

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Generate a new external ID
```
# Generate a new external ID returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::AWSIntegrationAPI.new

body = DatadogAPIClient::V1::AWSAccount.new({
  account_id: "123456789012",
  account_specific_namespace_rules: {
    auto_scaling: false, opswork: false,
  },
  cspm_resource_collection_enabled: true,
  excluded_regions: [
    "us-east-1",
    "us-west-2",
  ],
  extended_resource_collection_enabled: true,
  filter_tags: [
    "$KEY:$VALUE",
  ],
  host_tags: [
    "$KEY:$VALUE",
  ],
  metrics_collection_enabled: false,
  resource_collection_enabled: true,
  role_name: "DatadogAWSIntegrationRole",
})
p api_instance.create_new_aws_external_id(body)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Generate a new external ID
```
// Generate a new external ID returns "OK" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV1"
)

func main() {
	body := datadogV1.AWSAccount{
		AccountId: datadog.PtrString("123456789012"),
		AccountSpecificNamespaceRules: map[string]bool{
			"auto_scaling": false,
			"opswork":      false,
		},
		CspmResourceCollectionEnabled: datadog.PtrBool(true),
		ExcludedRegions: []string{
			"us-east-1",
			"us-west-2",
		},
		ExtendedResourceCollectionEnabled: datadog.PtrBool(true),
		FilterTags: []string{
			"$KEY:$VALUE",
		},
		HostTags: []string{
			"$KEY:$VALUE",
		},
		MetricsCollectionEnabled:  datadog.PtrBool(false),
		ResourceCollectionEnabled: datadog.PtrBool(true),
		RoleName:                  datadog.PtrString("DatadogAWSIntegrationRole"),
	}
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV1.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.CreateNewAWSExternalID(ctx, body)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.CreateNewAWSExternalID`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.CreateNewAWSExternalID`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Generate a new external ID
```
// Generate a new external ID returns "OK" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v1.api.AwsIntegrationApi;
import com.datadog.api.client.v1.model.AWSAccount;
import com.datadog.api.client.v1.model.AWSAccountCreateResponse;
import java.util.Arrays;
import java.util.Collections;
import java.util.Map;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    AWSAccount body =
        new AWSAccount()
            .accountId("123456789012")
            .accountSpecificNamespaceRules(
                Map.ofEntries(Map.entry("auto_scaling", false), Map.entry("opswork", false)))
            .cspmResourceCollectionEnabled(true)
            .excludedRegions(Arrays.asList("us-east-1", "us-west-2"))
            .extendedResourceCollectionEnabled(true)
            .filterTags(Collections.singletonList("$KEY:$VALUE"))
            .hostTags(Collections.singletonList("$KEY:$VALUE"))
            .metricsCollectionEnabled(false)
            .resourceCollectionEnabled(true)
            .roleName("DatadogAWSIntegrationRole");

    try {
      AWSAccountCreateResponse result = apiInstance.createNewAWSExternalID(body);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#createNewAWSExternalID");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Generate a new external ID
```
// Generate a new external ID returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV1::api_aws_integration::AWSIntegrationAPI;
use datadog_api_client::datadogV1::model::AWSAccount;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
    let body = AWSAccount::new()
        .account_id("123456789012".to_string())
        .account_specific_namespace_rules(BTreeMap::from([
            ("auto_scaling".to_string(), false),
            ("opswork".to_string(), false),
        ]))
        .cspm_resource_collection_enabled(true)
        .excluded_regions(vec!["us-east-1".to_string(), "us-west-2".to_string()])
        .extended_resource_collection_enabled(true)
        .filter_tags(vec!["$KEY:$VALUE".to_string()])
        .host_tags(vec!["$KEY:$VALUE".to_string()])
        .metrics_collection_enabled(false)
        .resource_collection_enabled(true)
        .role_name("DatadogAWSIntegrationRole".to_string());
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.create_new_aws_external_id(body).await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Generate a new external ID
```
/**
 * Generate a new external ID returns "OK" response
 */

import { client, v1 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v1.AWSIntegrationApi(configuration);

const params: v1.AWSIntegrationApiCreateNewAWSExternalIDRequest = {
  body: {
    accountId: "123456789012",
    accountSpecificNamespaceRules: {
      auto_scaling: false,
      opswork: false,
    },
    cspmResourceCollectionEnabled: true,
    excludedRegions: ["us-east-1", "us-west-2"],
    extendedResourceCollectionEnabled: true,
    filterTags: ["$KEY:$VALUE"],
    hostTags: ["$KEY:$VALUE"],
    metricsCollectionEnabled: false,
    resourceCollectionEnabled: true,
    roleName: "DatadogAWSIntegrationRole",
  },
};

apiInstance
  .createNewAWSExternalID(params)
  .then((data: v1.AWSAccountCreateResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

POST https://api.ap1.datadoghq.com/api/v2/integration/aws/generate_new_external_idhttps://api.ap2.datadoghq.com/api/v2/integration/aws/generate_new_external_idhttps://api.datadoghq.eu/api/v2/integration/aws/generate_new_external_idhttps://api.ddog-gov.com/api/v2/integration/aws/generate_new_external_idhttps://api.datadoghq.com/api/v2/integration/aws/generate_new_external_idhttps://api.us3.datadoghq.com/api/v2/integration/aws/generate_new_external_idhttps://api.us5.datadoghq.com/api/v2/integration/aws/generate_new_external_id
### Overview
Generate a new external ID for AWS role-based authentication. This endpoint requires the `aws_configuration_edit` permission.
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#CreateNewAWSExternalID-200-v2)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#CreateNewAWSExternalID-403-v2)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#CreateNewAWSExternalID-429-v2)


AWS External ID object
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


AWS External ID response body.
Expand All
Field
Type
Description
_required_]
object
AWS External ID response body.
object
AWS External ID response body.
external_id [_required_]
string
AWS IAM External ID for associated role.
id [_required_]
string
The `AWSNewExternalIDResponseData` `id`.
default: `external_id`
type [_required_]
enum
The `AWSNewExternalIDResponseData` `type`. Allowed enum values: `external_id`
default: `external_id`
```
{
  "data": {
    "attributes": {
      "external_id": "acb8f6b8a844443dbb726d07dcb1a870"
    },
    "id": "external_id",
    "type": "external_id"
  }
}
```

Copy
Forbidden
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Generate a new external ID
Copy
```
                  # Curl command  
curl -X POST "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/aws/generate_new_external_id" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"  

                
```

#####  Generate a new external ID
```
"""
Generate a new external ID returns "AWS External ID object" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.aws_integration_api import AWSIntegrationApi

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.create_new_aws_external_id()

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Generate a new external ID
```
# Generate a new external ID returns "AWS External ID object" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::AWSIntegrationAPI.new
p api_instance.create_new_aws_external_id()

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Generate a new external ID
```
// Generate a new external ID returns "AWS External ID object" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)

func main() {
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV2.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.CreateNewAWSExternalID(ctx)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.CreateNewAWSExternalID`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.CreateNewAWSExternalID`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Generate a new external ID
```
// Generate a new external ID returns "AWS External ID object" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.AwsIntegrationApi;
import com.datadog.api.client.v2.model.AWSNewExternalIDResponse;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    try {
      AWSNewExternalIDResponse result = apiInstance.createNewAWSExternalID();
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#createNewAWSExternalID");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Generate a new external ID
```
// Generate a new external ID returns "AWS External ID object" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_aws_integration::AWSIntegrationAPI;

#[tokio::main]
async fn main() {
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.create_new_aws_external_id().await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Generate a new external ID
```
/**
 * Generate a new external ID returns "AWS External ID object" response
 */

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AWSIntegrationApi(configuration);

apiInstance
  .createNewAWSExternalID()
  .then((data: v2.AWSNewExternalIDResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

* * *
## [List namespace rules](https://docs.datadoghq.com/api/latest/aws-integration/#list-namespace-rules)
  * [v1 (deprecated)](https://docs.datadoghq.com/api/latest/aws-integration/#list-namespace-rules-v1)


GET https://api.ap1.datadoghq.com/api/v1/integration/aws/available_namespace_ruleshttps://api.ap2.datadoghq.com/api/v1/integration/aws/available_namespace_ruleshttps://api.datadoghq.eu/api/v1/integration/aws/available_namespace_ruleshttps://api.ddog-gov.com/api/v1/integration/aws/available_namespace_ruleshttps://api.datadoghq.com/api/v1/integration/aws/available_namespace_ruleshttps://api.us3.datadoghq.com/api/v1/integration/aws/available_namespace_ruleshttps://api.us5.datadoghq.com/api/v1/integration/aws/available_namespace_rules
### Overview
**This endpoint is deprecated - use the V2 endpoints instead.** List all namespace rules for a given Datadog-AWS integration. This endpoint takes no arguments. This endpoint requires the `aws_configuration_read` permission.
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#ListAvailableAWSNamespaces-200-v1)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#ListAvailableAWSNamespaces-403-v1)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#ListAvailableAWSNamespaces-429-v1)


OK
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Expand All
Field
Type
Description
string
```
[
  "namespace1",
  "namespace2",
  "namespace3"
]
```

Copy
Authentication Error
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)
  * [Ruby [legacy]](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby-legacy)
  * [Python [legacy]](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python-legacy)


#####  List namespace rules
Copy
```
                  # Curl command  
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v1/integration/aws/available_namespace_rules" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"  

                
```

#####  List namespace rules
```
"""
List namespace rules returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v1.api.aws_integration_api import AWSIntegrationApi

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.list_available_aws_namespaces()

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  List namespace rules
```
# List namespace rules returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::AWSIntegrationAPI.new
p api_instance.list_available_aws_namespaces()

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  List namespace rules
```
require 'rubygems'
require 'dogapi'

api_key = '<DATADOG_API_KEY>'
app_key = '<DATADOG_APPLICATION_KEY>'

dog = Dogapi::Client.new(api_key, app_key)

dog.aws_integration_list_namespaces

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby-legacy) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  List namespace rules
```
// List namespace rules returns "OK" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV1"
)

func main() {
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV1.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.ListAvailableAWSNamespaces(ctx)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.ListAvailableAWSNamespaces`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.ListAvailableAWSNamespaces`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  List namespace rules
```
// List namespace rules returns "OK" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v1.api.AwsIntegrationApi;
import java.util.List;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    try {
      List<String> result = apiInstance.listAvailableAWSNamespaces();
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#listAvailableAWSNamespaces");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  List namespace rules
```
from datadog import initialize, api

options = {
    'api_key': '<DATADOG_API_KEY>',
    'app_key': '<DATADOG_APPLICATION_KEY>'
}

initialize(**options)

api.AwsIntegration.list_namespace_rules()

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python-legacy) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python "example.py"


```

#####  List namespace rules
```
// List namespace rules returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV1::api_aws_integration::AWSIntegrationAPI;

#[tokio::main]
async fn main() {
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.list_available_aws_namespaces().await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  List namespace rules
```
/**
 * List namespace rules returns "OK" response
 */

import { client, v1 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v1.AWSIntegrationApi(configuration);

apiInstance
  .listAvailableAWSNamespaces()
  .then((data: string[]) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

* * *
## [Get AWS integration IAM permissions](https://docs.datadoghq.com/api/latest/aws-integration/#get-aws-integration-iam-permissions)
  * [v2 (latest)](https://docs.datadoghq.com/api/latest/aws-integration/#get-aws-integration-iam-permissions-v2)


GET https://api.ap1.datadoghq.com/api/v2/integration/aws/iam_permissionshttps://api.ap2.datadoghq.com/api/v2/integration/aws/iam_permissionshttps://api.datadoghq.eu/api/v2/integration/aws/iam_permissionshttps://api.ddog-gov.com/api/v2/integration/aws/iam_permissionshttps://api.datadoghq.com/api/v2/integration/aws/iam_permissionshttps://api.us3.datadoghq.com/api/v2/integration/aws/iam_permissionshttps://api.us5.datadoghq.com/api/v2/integration/aws/iam_permissions
### Overview
Get all AWS IAM permissions required for the AWS integration.
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#GetAWSIntegrationIAMPermissions-200-v2)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#GetAWSIntegrationIAMPermissions-429-v2)


AWS IAM Permissions object
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


AWS Integration IAM Permissions response body.
Expand All
Field
Type
Description
_required_]
object
AWS Integration IAM Permissions response data.
object
AWS Integration IAM Permissions response attributes.
permissions [_required_]
[string]
List of AWS IAM permissions required for the integration.
id
string
The `AWSIntegrationIamPermissionsResponseData` `id`.
default: `permissions`
type
enum
The `AWSIntegrationIamPermissionsResponseData` `type`. Allowed enum values: `permissions`
default: `permissions`
```
{
  "data": {
    "attributes": {
      "permissions": [
        "account:GetContactInformation",
        "amplify:ListApps",
        "amplify:ListArtifacts",
        "amplify:ListBackendEnvironments",
        "amplify:ListBranches"
      ]
    },
    "id": "permissions",
    "type": "permissions"
  }
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Get AWS integration IAM permissions
Copy
```
                  # Curl command  
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/aws/iam_permissions" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"  

                
```

#####  Get AWS integration IAM permissions
```
"""
Get AWS integration IAM permissions returns "AWS IAM Permissions object" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.aws_integration_api import AWSIntegrationApi

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.get_aws_integration_iam_permissions()

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Get AWS integration IAM permissions
```
# Get AWS integration IAM permissions returns "AWS IAM Permissions object" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::AWSIntegrationAPI.new
p api_instance.get_aws_integration_iam_permissions()

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Get AWS integration IAM permissions
```
// Get AWS integration IAM permissions returns "AWS IAM Permissions object" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)

func main() {
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV2.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.GetAWSIntegrationIAMPermissions(ctx)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.GetAWSIntegrationIAMPermissions`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.GetAWSIntegrationIAMPermissions`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Get AWS integration IAM permissions
```
// Get AWS integration IAM permissions returns "AWS IAM Permissions object" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.AwsIntegrationApi;
import com.datadog.api.client.v2.model.AWSIntegrationIamPermissionsResponse;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    try {
      AWSIntegrationIamPermissionsResponse result = apiInstance.getAWSIntegrationIAMPermissions();
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println(
          "Exception when calling AwsIntegrationApi#getAWSIntegrationIAMPermissions");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Get AWS integration IAM permissions
```
// Get AWS integration IAM permissions returns "AWS IAM Permissions object"
// response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_aws_integration::AWSIntegrationAPI;

#[tokio::main]
async fn main() {
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.get_aws_integration_iam_permissions().await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Get AWS integration IAM permissions
```
/**
 * Get AWS integration IAM permissions returns "AWS IAM Permissions object" response
 */

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AWSIntegrationApi(configuration);

apiInstance
  .getAWSIntegrationIAMPermissions()
  .then((data: v2.AWSIntegrationIamPermissionsResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

* * *
## [List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations)
  * [v1](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations-v1)
  * [v2 (latest)](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations-v2)


GET https://api.ap1.datadoghq.com/api/v1/integration/awshttps://api.ap2.datadoghq.com/api/v1/integration/awshttps://api.datadoghq.eu/api/v1/integration/awshttps://api.ddog-gov.com/api/v1/integration/awshttps://api.datadoghq.com/api/v1/integration/awshttps://api.us3.datadoghq.com/api/v1/integration/awshttps://api.us5.datadoghq.com/api/v1/integration/aws
### Overview
**This endpoint is deprecated - use the V2 endpoints instead.** List all Datadog-AWS integrations available in your Datadog organization. This endpoint requires the `aws_configuration_read` permission.
### Arguments
#### Query Strings
Name
Type
Description
account_id
string
Only return AWS accounts that matches this `account_id`.
role_name
string
Only return AWS accounts that matches this role_name.
access_key_id
string
Only return AWS accounts that matches this `access_key_id`.
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSAccounts-200-v1)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSAccounts-400-v1)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSAccounts-403-v1)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSAccounts-429-v1)


OK
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


List of enabled AWS accounts.
Expand All
Field
Type
Description
[object]
List of enabled AWS accounts.
access_key_id
string
Your AWS access key ID. Only required if your AWS account is a GovCloud or China account.
account_id
string
Your AWS Account ID without dashes.
object
An object (in the form `{"namespace1":true/false, "namespace2":true/false}`) containing user-supplied overrides for AWS namespace metric collection. **Important** : This field only contains namespaces explicitly configured through API calls, not the comprehensive enabled or disabled status of all namespaces. If a namespace is absent from this field, it uses Datadog's internal defaults (all namespaces enabled by default, except `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage`). For a complete view of all namespace statuses, use the V2 AWS Integration API instead.
<any-key>
boolean
A list of additional properties.
cspm_resource_collection_enabled
boolean
Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general `resource_collection`.
excluded_regions
[string]
An array of [AWS regions](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints) to exclude from metrics collection.
extended_resource_collection_enabled
boolean
Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Required for `cspm_resource_collection`.
filter_tags
[string]
The array of EC2 tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from EC2. Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used. Only hosts that match one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be excluded by adding `!` before the tag. For example, `env:production,instance-type:c1.*,!region:us-east-1`
host_tags
[string]
Array of tags (in the form `key:value`) to add to all hosts and metrics reporting through this integration.
metrics_collection_enabled
boolean
Whether Datadog collects metrics for this AWS account.
default: `true`
resource_collection_enabled
boolean
**DEPRECATED** : Deprecated in favor of 'extended_resource_collection_enabled'. Whether Datadog collects a standard set of resources from your AWS account.
role_name
string
Your Datadog role delegation name.
secret_access_key
string
Your AWS secret access key. Only required if your AWS account is a GovCloud or China account.
```
{
  "accounts": [
    {
      "access_key_id": "string",
      "account_id": "123456789012",
      "account_specific_namespace_rules": {
        "<any-key>": false
      },
      "cspm_resource_collection_enabled": true,
      "excluded_regions": [
        "us-east-1",
        "us-west-2"
      ],
      "extended_resource_collection_enabled": true,
      "filter_tags": [
        "$KEY:$VALUE"
      ],
      "host_tags": [
        "$KEY:$VALUE"
      ],
      "metrics_collection_enabled": false,
      "resource_collection_enabled": true,
      "role_name": "DatadogAWSIntegrationRole",
      "secret_access_key": "string"
    }
  ]
}
```

Copy
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Authentication Error
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)
  * [Ruby [legacy]](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby-legacy)
  * [Python [legacy]](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python-legacy)


#####  List all AWS integrations
Copy
```
                  # Curl command  
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v1/integration/aws" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"  

                
```

#####  List all AWS integrations
```
"""
List all AWS integrations returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v1.api.aws_integration_api import AWSIntegrationApi

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.list_aws_accounts()

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  List all AWS integrations
```
# List all AWS integrations returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::AWSIntegrationAPI.new
p api_instance.list_aws_accounts()

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  List all AWS integrations
```
require 'rubygems'
require 'dogapi'

api_key = '<DATADOG_API_KEY>'
app_key = '<DATADOG_APPLICATION_KEY>'

dog = Dogapi::Client.new(api_key, app_key)

dog.aws_integration_list

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby-legacy) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  List all AWS integrations
```
// List all AWS integrations returns "OK" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV1"
)

func main() {
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV1.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.ListAWSAccounts(ctx, *datadogV1.NewListAWSAccountsOptionalParameters())

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.ListAWSAccounts`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.ListAWSAccounts`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  List all AWS integrations
```
// List all AWS integrations returns "OK" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v1.api.AwsIntegrationApi;
import com.datadog.api.client.v1.model.AWSAccountListResponse;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    try {
      AWSAccountListResponse result = apiInstance.listAWSAccounts();
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#listAWSAccounts");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  List all AWS integrations
```
from datadog import initialize, api

options = {
    'api_key': '<DATADOG_API_KEY>',
    'app_key': '<DATADOG_APPLICATION_KEY>'
}

initialize(**options)

api.AwsIntegration.list()

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python-legacy) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python "example.py"


```

#####  List all AWS integrations
```
// List all AWS integrations returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV1::api_aws_integration::AWSIntegrationAPI;
use datadog_api_client::datadogV1::api_aws_integration::ListAWSAccountsOptionalParams;

#[tokio::main]
async fn main() {
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api
        .list_aws_accounts(ListAWSAccountsOptionalParams::default())
        .await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  List all AWS integrations
```
/**
 * List all AWS integrations returns "OK" response
 */

import { client, v1 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v1.AWSIntegrationApi(configuration);

apiInstance
  .listAWSAccounts()
  .then((data: v1.AWSAccountListResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

GET https://api.ap1.datadoghq.com/api/v2/integration/aws/accountshttps://api.ap2.datadoghq.com/api/v2/integration/aws/accountshttps://api.datadoghq.eu/api/v2/integration/aws/accountshttps://api.ddog-gov.com/api/v2/integration/aws/accountshttps://api.datadoghq.com/api/v2/integration/aws/accountshttps://api.us3.datadoghq.com/api/v2/integration/aws/accountshttps://api.us5.datadoghq.com/api/v2/integration/aws/accounts
### Overview
Get a list of AWS Account Integration Configs. This endpoint requires the `aws_configuration_read` permission.
### Arguments
#### Query Strings
Name
Type
Description
aws_account_id
string
Optional query parameter to filter accounts by AWS Account ID. If not provided, all accounts are returned.
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSAccounts-200-v2)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSAccounts-403-v2)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSAccounts-429-v2)


AWS Accounts List object
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


AWS Accounts response body.
Expand All
Field
Type
Description
_required_]
[object]
List of AWS Account Integration Configs.
object
AWS Account response attributes.
account_tags
[string]
Tags to apply to all hosts and metrics reporting for this account. Defaults to `[]`.
<oneOf>
AWS Authentication config.
object
AWS Authentication config to integrate your account using an access key pair.
access_key_id [_required_]
string
AWS Access Key ID.
secret_access_key
string
AWS Secret Access Key.
object
AWS Authentication config to integrate your account using an IAM role.
external_id
string
AWS IAM External ID for associated role.
role_name [_required_]
string
AWS IAM Role name.
aws_account_id [_required_]
string
AWS Account ID.
aws_partition
enum
AWS partition your AWS account is scoped to. Defaults to `aws`. See [Partitions](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/partitions.html) in the AWS documentation for more information. Allowed enum values: `aws,aws-cn,aws-us-gov`
<oneOf>
AWS Regions to collect data from. Defaults to `include_all`.
object
Include all regions. Defaults to `true`.
include_all [_required_]
boolean
Include all regions.
object
Include only these regions.
include_only [_required_]
[string]
Include only these regions.
created_at
date-time
Timestamp of when the account integration was created.
object
AWS Logs Collection config.
object
Log Autosubscription configuration for Datadog Forwarder Lambda functions. Automatically set up triggers for existing and new logs for some services, ensuring no logs from new resources are missed and saving time spent on manual configuration.
lambdas
[string]
List of Datadog Lambda Log Forwarder ARNs in your AWS account. Defaults to `[]`.
object
Log source configuration.
[object]
List of AWS log source tag filters. Defaults to `[]`.
source
string
The AWS log source to which the tag filters defined in `tags` are applied.
tags
[string]
The AWS resource tags to filter on for the log source specified by `source`.
sources
[string]
List of service IDs set to enable automatic log collection. Discover the list of available services with the [Get list of AWS log ready services](https://docs.datadoghq.com/api/latest/aws-logs-integration/#get-list-of-aws-log-ready-services) endpoint.
object
AWS Metrics Collection config.
automute_enabled
boolean
Enable EC2 automute for AWS metrics. Defaults to `true`.
collect_cloudwatch_alarms
boolean
Enable CloudWatch alarms collection. Defaults to `false`.
collect_custom_metrics
boolean
Enable custom metrics collection. Defaults to `false`.
enabled
boolean
Enable AWS metrics collection. Defaults to `true`.
<oneOf>
AWS Metrics namespace filters. Defaults to `exclude_only`.
object
Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`. `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
exclude_only [_required_]
[string]
Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`. `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
object
Include only these namespaces.
include_only [_required_]
[string]
Include only these namespaces.
[object]
AWS Metrics collection tag filters list. Defaults to `[]`.
namespace
string
The AWS service for which the tag filters defined in `tags` will be applied.
tags
[string]
The AWS resource tags to filter on for the service specified by `namespace`.
modified_at
date-time
Timestamp of when the account integration was updated.
object
AWS Resources Collection config.
cloud_security_posture_management_collection
boolean
Enable Cloud Security Management to scan AWS resources for vulnerabilities, misconfigurations, identity risks, and compliance violations. Defaults to `false`. Requires `extended_collection` to be set to `true`.
extended_collection
boolean
Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Defaults to `true`. Required for `cloud_security_posture_management_collection`.
object
AWS Traces Collection config.
<oneOf>
AWS X-Ray services to collect traces from. Defaults to `include_only`.
object
Include all services.
include_all [_required_]
boolean
Include all services.
object
Include only these services. Defaults to `[]`.
include_only [_required_]
[string]
Include only these services.
id [_required_]
string
Unique Datadog ID of the AWS Account Integration Config. To get the config ID for an account, use the [List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations) endpoint and query by AWS Account ID.
type [_required_]
enum
AWS Account resource type. Allowed enum values: `account`
default: `account`
```
{
  "data": [
    {
      "attributes": {
        "account_tags": [
          "env:prod"
        ],
        "auth_config": {
          "access_key_id": "AKIAIOSFODNN7EXAMPLE",
          "secret_access_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
        },
        "aws_account_id": "123456789012",
        "aws_partition": "aws",
        "aws_regions": {
          "include_all": true
        },
        "created_at": "2019-09-19T10:00:00.000Z",
        "logs_config": {
          "lambda_forwarder": {
            "lambdas": [
              "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"
            ],
            "log_source_config": {
              "tag_filters": [
                {
                  "source": "s3",
                  "tags": [
                    "env:prod"
                  ]
                }
              ]
            },
            "sources": [
              "s3"
            ]
          }
        },
        "metrics_config": {
          "automute_enabled": true,
          "collect_cloudwatch_alarms": false,
          "collect_custom_metrics": false,
          "enabled": true,
          "namespace_filters": {
            "exclude_only": [
              "AWS/SQS",
              "AWS/ElasticMapReduce",
              "AWS/Usage"
            ]
          },
          "tag_filters": [
            {
              "namespace": "AWS/EC2",
              "tags": [
                "datadog:true"
              ]
            }
          ]
        },
        "modified_at": "2019-09-19T10:00:00.000Z",
        "resources_config": {
          "cloud_security_posture_management_collection": false,
          "extended_collection": true
        },
        "traces_config": {
          "xray_services": {
            "include_all": false
          }
        }
      },
      "id": "00000000-abcd-0001-0000-000000000000",
      "type": "account"
    }
  ]
}
```

Copy
Forbidden
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  List all AWS integrations
Copy
```
                  # Curl command  
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/aws/accounts" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"  

                
```

#####  List all AWS integrations
```
"""
List all AWS integrations returns "AWS Accounts List object" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.aws_integration_api import AWSIntegrationApi

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.list_aws_accounts()

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  List all AWS integrations
```
# List all AWS integrations returns "AWS Accounts List object" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::AWSIntegrationAPI.new
p api_instance.list_aws_accounts()

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  List all AWS integrations
```
// List all AWS integrations returns "AWS Accounts List object" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)

func main() {
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV2.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.ListAWSAccounts(ctx, *datadogV2.NewListAWSAccountsOptionalParameters())

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.ListAWSAccounts`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.ListAWSAccounts`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  List all AWS integrations
```
// List all AWS integrations returns "AWS Accounts List object" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.AwsIntegrationApi;
import com.datadog.api.client.v2.model.AWSAccountsResponse;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    try {
      AWSAccountsResponse result = apiInstance.listAWSAccounts();
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#listAWSAccounts");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  List all AWS integrations
```
// List all AWS integrations returns "AWS Accounts List object" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_aws_integration::AWSIntegrationAPI;
use datadog_api_client::datadogV2::api_aws_integration::ListAWSAccountsOptionalParams;

#[tokio::main]
async fn main() {
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api
        .list_aws_accounts(ListAWSAccountsOptionalParams::default())
        .await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  List all AWS integrations
```
/**
 * List all AWS integrations returns "AWS Accounts List object" response
 */

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AWSIntegrationApi(configuration);

apiInstance
  .listAWSAccounts()
  .then((data: v2.AWSAccountsResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

* * *
## [Delete an AWS integration](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-aws-integration)
  * [v1](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-aws-integration-v1)
  * [v2 (latest)](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-aws-integration-v2)


DELETE https://api.ap1.datadoghq.com/api/v1/integration/awshttps://api.ap2.datadoghq.com/api/v1/integration/awshttps://api.datadoghq.eu/api/v1/integration/awshttps://api.ddog-gov.com/api/v1/integration/awshttps://api.datadoghq.com/api/v1/integration/awshttps://api.us3.datadoghq.com/api/v1/integration/awshttps://api.us5.datadoghq.com/api/v1/integration/aws
### Overview
**This endpoint is deprecated - use the V2 endpoints instead.** Delete a Datadog-AWS integration matching the specified `account_id` and `role_name parameters`. This endpoint requires the `aws_configurations_manage` permission.
### Request
#### Body Data (required)
AWS request object
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Expand All
Field
Type
Description
access_key_id
string
Your AWS access key ID. Only required if your AWS account is a GovCloud or China account.
account_id
string
Your AWS Account ID without dashes.
role_name
string
Your Datadog role delegation name.
```
{
  "account_id": "163662907100",
  "role_name": "DatadogAWSIntegrationRole"
}
```

Copy
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSAccount-200-v1)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSAccount-400-v1)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSAccount-403-v1)
  * [409](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSAccount-409-v1)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSAccount-429-v1)


OK
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Expand All
Field
Type
Description
No response body
```
{}
```

Copy
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Authentication Error
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Conflict Error
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)
  * [Python [legacy]](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python-legacy)
  * [Ruby [legacy]](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby-legacy)


#####  Delete an AWS integration returns "OK" response
Copy
```
                          # Curl command  
curl -X DELETE "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v1/integration/aws" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{
  "account_id": "163662907100",
  "role_name": "DatadogAWSIntegrationRole"
}
EOF  

                        
```

#####  Delete an AWS integration returns "OK" response
```
// Delete an AWS integration returns "OK" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV1"
)

func main() {
	body := datadogV1.AWSAccountDeleteRequest{
		AccountId: datadog.PtrString("163662907100"),
		RoleName:  datadog.PtrString("DatadogAWSIntegrationRole"),
	}
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV1.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.DeleteAWSAccount(ctx, body)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.DeleteAWSAccount`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.DeleteAWSAccount`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Delete an AWS integration returns "OK" response
```
// Delete an AWS integration returns "OK" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v1.api.AwsIntegrationApi;
import com.datadog.api.client.v1.model.AWSAccountDeleteRequest;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    AWSAccountDeleteRequest body =
        new AWSAccountDeleteRequest()
            .accountId("163662907100")
            .roleName("DatadogAWSIntegrationRole");

    try {
      apiInstance.deleteAWSAccount(body);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#deleteAWSAccount");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Delete an AWS integration returns "OK" response
```
from datadog import initialize, api

options = {
    'api_key': '<DATADOG_API_KEY>',
    'app_key': '<DATADOG_APPLICATION_KEY>'
}

initialize(**options)

account_id = "<AWS_ACCOUNT_ID>"
role_name = "<AWS_ROLE_NAME>"

api.AwsIntegration.delete(account_id=account_id, role_name=role_name)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python-legacy) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python "example.py"


```

#####  Delete an AWS integration returns "OK" response
```
"""
Delete an AWS integration returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v1.api.aws_integration_api import AWSIntegrationApi
from datadog_api_client.v1.model.aws_account_delete_request import AWSAccountDeleteRequest

body = AWSAccountDeleteRequest(
    account_id="163662907100",
    role_name="DatadogAWSIntegrationRole",
)

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.delete_aws_account(body=body)

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Delete an AWS integration returns "OK" response
```
require 'rubygems'
require 'dogapi'

api_key = '<DATADOG_API_KEY>'
app_key = '<DATADOG_APPLICATION_KEY>'

config = {
  "account_id": '<AWS_ACCOUNT_ID>',
  "role_name": 'DatadogAWSIntegrationRole'
}

dog = Dogapi::Client.new(api_key, app_key)

dog.aws_integration_delete(config)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby-legacy) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Delete an AWS integration returns "OK" response
```
# Delete an AWS integration returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::AWSIntegrationAPI.new

body = DatadogAPIClient::V1::AWSAccountDeleteRequest.new({
  account_id: "163662907100",
  role_name: "DatadogAWSIntegrationRole",
})
p api_instance.delete_aws_account(body)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Delete an AWS integration returns "OK" response
```
// Delete an AWS integration returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV1::api_aws_integration::AWSIntegrationAPI;
use datadog_api_client::datadogV1::model::AWSAccountDeleteRequest;

#[tokio::main]
async fn main() {
    let body = AWSAccountDeleteRequest::new()
        .account_id("163662907100".to_string())
        .role_name("DatadogAWSIntegrationRole".to_string());
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.delete_aws_account(body).await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Delete an AWS integration returns "OK" response
```
/**
 * Delete an AWS integration returns "OK" response
 */

import { client, v1 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v1.AWSIntegrationApi(configuration);

const params: v1.AWSIntegrationApiDeleteAWSAccountRequest = {
  body: {
    accountId: "163662907100",
    roleName: "DatadogAWSIntegrationRole",
  },
};

apiInstance
  .deleteAWSAccount(params)
  .then((data: any) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

DELETE https://api.ap1.datadoghq.com/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.ap2.datadoghq.com/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.datadoghq.eu/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.ddog-gov.com/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.datadoghq.com/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.us3.datadoghq.com/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.us5.datadoghq.com/api/v2/integration/aws/accounts/{aws_account_config_id}
### Overview
Delete an AWS Account Integration Config by config ID. This endpoint requires the `aws_configurations_manage` permission.
### Arguments
#### Path Parameters
Name
Type
Description
aws_account_config_id [_required_]
string
Unique Datadog ID of the AWS Account Integration Config. To get the config ID for an account, use the [List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations) endpoint and query by AWS Account ID.
### Response
  * [204](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSAccount-204-v2)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSAccount-400-v2)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSAccount-403-v2)
  * [404](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSAccount-404-v2)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSAccount-429-v2)


No Content
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Forbidden
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Not Found
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Delete an AWS integration
Copy
```
                  # Path parameters  
export aws_account_config_id="CHANGE_ME"  
# Curl command  
curl -X DELETE "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/aws/accounts/${aws_account_config_id}" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"  

                
```

#####  Delete an AWS integration
```
"""
Delete an AWS integration returns "No Content" response
"""

from os import environ
from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.aws_integration_api import AWSIntegrationApi

# there is a valid "aws_account_v2" in the system
AWS_ACCOUNT_V2_DATA_ID = environ["AWS_ACCOUNT_V2_DATA_ID"]

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    api_instance.delete_aws_account(
        aws_account_config_id=AWS_ACCOUNT_V2_DATA_ID,
    )

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Delete an AWS integration
```
# Delete an AWS integration returns "No Content" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::AWSIntegrationAPI.new

# there is a valid "aws_account_v2" in the system
AWS_ACCOUNT_V2_DATA_ID = ENV["AWS_ACCOUNT_V2_DATA_ID"]
api_instance.delete_aws_account(AWS_ACCOUNT_V2_DATA_ID)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Delete an AWS integration
```
// Delete an AWS integration returns "No Content" response

package main

import (
	"context"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)

func main() {
	// there is a valid "aws_account_v2" in the system
	AwsAccountV2DataID := os.Getenv("AWS_ACCOUNT_V2_DATA_ID")

	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV2.NewAWSIntegrationApi(apiClient)
	r, err := api.DeleteAWSAccount(ctx, AwsAccountV2DataID)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.DeleteAWSAccount`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Delete an AWS integration
```
// Delete an AWS integration returns "No Content" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.AwsIntegrationApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    // there is a valid "aws_account_v2" in the system
    String AWS_ACCOUNT_V2_DATA_ID = System.getenv("AWS_ACCOUNT_V2_DATA_ID");

    try {
      apiInstance.deleteAWSAccount(AWS_ACCOUNT_V2_DATA_ID);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#deleteAWSAccount");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Delete an AWS integration
```
// Delete an AWS integration returns "No Content" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_aws_integration::AWSIntegrationAPI;

#[tokio::main]
async fn main() {
    // there is a valid "aws_account_v2" in the system
    let aws_account_v2_data_id = std::env::var("AWS_ACCOUNT_V2_DATA_ID").unwrap();
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.delete_aws_account(aws_account_v2_data_id.clone()).await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Delete an AWS integration
```
/**
 * Delete an AWS integration returns "No Content" response
 */

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AWSIntegrationApi(configuration);

// there is a valid "aws_account_v2" in the system
const AWS_ACCOUNT_V2_DATA_ID = process.env.AWS_ACCOUNT_V2_DATA_ID as string;

const params: v2.AWSIntegrationApiDeleteAWSAccountRequest = {
  awsAccountConfigId: AWS_ACCOUNT_V2_DATA_ID,
};

apiInstance
  .deleteAWSAccount(params)
  .then((data: any) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

* * *
## [Get AWS integration standard IAM permissions](https://docs.datadoghq.com/api/latest/aws-integration/#get-aws-integration-standard-iam-permissions)
  * [v2 (latest)](https://docs.datadoghq.com/api/latest/aws-integration/#get-aws-integration-standard-iam-permissions-v2)


GET https://api.ap1.datadoghq.com/api/v2/integration/aws/iam_permissions/standardhttps://api.ap2.datadoghq.com/api/v2/integration/aws/iam_permissions/standardhttps://api.datadoghq.eu/api/v2/integration/aws/iam_permissions/standardhttps://api.ddog-gov.com/api/v2/integration/aws/iam_permissions/standardhttps://api.datadoghq.com/api/v2/integration/aws/iam_permissions/standardhttps://api.us3.datadoghq.com/api/v2/integration/aws/iam_permissions/standardhttps://api.us5.datadoghq.com/api/v2/integration/aws/iam_permissions/standard
### Overview
Get all standard AWS IAM permissions required for the AWS integration.
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#GetAWSIntegrationIAMPermissionsStandard-200-v2)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#GetAWSIntegrationIAMPermissionsStandard-429-v2)


AWS integration standard IAM permissions.
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


AWS Integration IAM Permissions response body.
Expand All
Field
Type
Description
_required_]
object
AWS Integration IAM Permissions response data.
object
AWS Integration IAM Permissions response attributes.
permissions [_required_]
[string]
List of AWS IAM permissions required for the integration.
id
string
The `AWSIntegrationIamPermissionsResponseData` `id`.
default: `permissions`
type
enum
The `AWSIntegrationIamPermissionsResponseData` `type`. Allowed enum values: `permissions`
default: `permissions`
```
{
  "data": {
    "attributes": {
      "permissions": [
        "account:GetContactInformation",
        "amplify:ListApps",
        "amplify:ListArtifacts",
        "amplify:ListBackendEnvironments",
        "amplify:ListBranches"
      ]
    },
    "id": "permissions",
    "type": "permissions"
  }
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Get AWS integration standard IAM permissions
Copy
```
                  # Curl command  
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/aws/iam_permissions/standard" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"  

                
```

#####  Get AWS integration standard IAM permissions
```
"""
Get AWS integration standard IAM permissions returns "AWS integration standard IAM permissions." response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.aws_integration_api import AWSIntegrationApi

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.get_aws_integration_iam_permissions_standard()

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Get AWS integration standard IAM permissions
```
# Get AWS integration standard IAM permissions returns "AWS integration standard IAM permissions." response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::AWSIntegrationAPI.new
p api_instance.get_aws_integration_iam_permissions_standard()

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Get AWS integration standard IAM permissions
```
// Get AWS integration standard IAM permissions returns "AWS integration standard IAM permissions." response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)

func main() {
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV2.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.GetAWSIntegrationIAMPermissionsStandard(ctx)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.GetAWSIntegrationIAMPermissionsStandard`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.GetAWSIntegrationIAMPermissionsStandard`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Get AWS integration standard IAM permissions
```
// Get AWS integration standard IAM permissions returns "AWS integration standard IAM permissions."
// response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.AwsIntegrationApi;
import com.datadog.api.client.v2.model.AWSIntegrationIamPermissionsResponse;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    try {
      AWSIntegrationIamPermissionsResponse result =
          apiInstance.getAWSIntegrationIAMPermissionsStandard();
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println(
          "Exception when calling AwsIntegrationApi#getAWSIntegrationIAMPermissionsStandard");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Get AWS integration standard IAM permissions
```
// Get AWS integration standard IAM permissions returns "AWS integration standard
// IAM permissions." response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_aws_integration::AWSIntegrationAPI;

#[tokio::main]
async fn main() {
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.get_aws_integration_iam_permissions_standard().await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Get AWS integration standard IAM permissions
```
/**
 * Get AWS integration standard IAM permissions returns "AWS integration standard IAM permissions." response
 */

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AWSIntegrationApi(configuration);

apiInstance
  .getAWSIntegrationIAMPermissionsStandard()
  .then((data: v2.AWSIntegrationIamPermissionsResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

* * *
## [Create an AWS integration](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-aws-integration)
  * [v1](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-aws-integration-v1)
  * [v2 (latest)](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-aws-integration-v2)


POST https://api.ap1.datadoghq.com/api/v1/integration/awshttps://api.ap2.datadoghq.com/api/v1/integration/awshttps://api.datadoghq.eu/api/v1/integration/awshttps://api.ddog-gov.com/api/v1/integration/awshttps://api.datadoghq.com/api/v1/integration/awshttps://api.us3.datadoghq.com/api/v1/integration/awshttps://api.us5.datadoghq.com/api/v1/integration/aws
### Overview
**This endpoint is deprecated - use the V2 endpoints instead.** Create a Datadog-Amazon Web Services integration. Using the `POST` method updates your integration configuration by adding your new configuration to the existing one in your Datadog organization. A unique AWS Account ID for role based authentication. This endpoint requires the `aws_configurations_manage` permission.
### Request
#### Body Data (required)
AWS Request Object
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Expand All
Field
Type
Description
access_key_id
string
Your AWS access key ID. Only required if your AWS account is a GovCloud or China account.
account_id
string
Your AWS Account ID without dashes.
object
An object (in the form `{"namespace1":true/false, "namespace2":true/false}`) containing user-supplied overrides for AWS namespace metric collection. **Important** : This field only contains namespaces explicitly configured through API calls, not the comprehensive enabled or disabled status of all namespaces. If a namespace is absent from this field, it uses Datadog's internal defaults (all namespaces enabled by default, except `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage`). For a complete view of all namespace statuses, use the V2 AWS Integration API instead.
<any-key>
boolean
A list of additional properties.
cspm_resource_collection_enabled
boolean
Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general `resource_collection`.
excluded_regions
[string]
An array of [AWS regions](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints) to exclude from metrics collection.
extended_resource_collection_enabled
boolean
Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Required for `cspm_resource_collection`.
filter_tags
[string]
The array of EC2 tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from EC2. Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used. Only hosts that match one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be excluded by adding `!` before the tag. For example, `env:production,instance-type:c1.*,!region:us-east-1`
host_tags
[string]
Array of tags (in the form `key:value`) to add to all hosts and metrics reporting through this integration.
metrics_collection_enabled
boolean
Whether Datadog collects metrics for this AWS account.
default: `true`
resource_collection_enabled
boolean
**DEPRECATED** : Deprecated in favor of 'extended_resource_collection_enabled'. Whether Datadog collects a standard set of resources from your AWS account.
role_name
string
Your Datadog role delegation name.
secret_access_key
string
Your AWS secret access key. Only required if your AWS account is a GovCloud or China account.
```
{
  "account_id": "163662907100",
  "account_specific_namespace_rules": {
    "auto_scaling": false
  },
  "cspm_resource_collection_enabled": true,
  "excluded_regions": [
    "us-east-1",
    "us-west-2"
  ],
  "extended_resource_collection_enabled": true,
  "filter_tags": [
    "$KEY:$VALUE"
  ],
  "host_tags": [
    "$KEY:$VALUE"
  ],
  "metrics_collection_enabled": false,
  "role_name": "DatadogAWSIntegrationRole"
}
```

Copy
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSAccount-200-v1)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSAccount-400-v1)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSAccount-403-v1)
  * [409](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSAccount-409-v1)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSAccount-429-v1)


OK
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


The Response returned by the AWS Create Account call.
Expand All
Field
Type
Description
external_id
string
AWS external_id.
```
{
  "external_id": "string"
}
```

Copy
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Authentication Error
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Conflict Error
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)
  * [Python [legacy]](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python-legacy)
  * [Ruby [legacy]](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby-legacy)


#####  Create an AWS integration returns "OK" response
Copy
```
                          # Curl command  
curl -X POST "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v1/integration/aws" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{
  "account_id": "163662907100",
  "account_specific_namespace_rules": {
    "auto_scaling": false
  },
  "cspm_resource_collection_enabled": true,
  "excluded_regions": [
    "us-east-1",
    "us-west-2"
  ],
  "extended_resource_collection_enabled": true,
  "filter_tags": [
    "$KEY:$VALUE"
  ],
  "host_tags": [
    "$KEY:$VALUE"
  ],
  "metrics_collection_enabled": false,
  "role_name": "DatadogAWSIntegrationRole"
}
EOF  

                        
```

#####  Create an AWS integration returns "OK" response
```
// Create an AWS integration returns "OK" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV1"
)

func main() {
	body := datadogV1.AWSAccount{
		AccountId: datadog.PtrString("163662907100"),
		AccountSpecificNamespaceRules: map[string]bool{
			"auto_scaling": false,
		},
		CspmResourceCollectionEnabled: datadog.PtrBool(true),
		ExcludedRegions: []string{
			"us-east-1",
			"us-west-2",
		},
		ExtendedResourceCollectionEnabled: datadog.PtrBool(true),
		FilterTags: []string{
			"$KEY:$VALUE",
		},
		HostTags: []string{
			"$KEY:$VALUE",
		},
		MetricsCollectionEnabled: datadog.PtrBool(false),
		RoleName:                 datadog.PtrString("DatadogAWSIntegrationRole"),
	}
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV1.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.CreateAWSAccount(ctx, body)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.CreateAWSAccount`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.CreateAWSAccount`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Create an AWS integration returns "OK" response
```
// Create an AWS integration returns "OK" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v1.api.AwsIntegrationApi;
import com.datadog.api.client.v1.model.AWSAccount;
import com.datadog.api.client.v1.model.AWSAccountCreateResponse;
import java.util.Arrays;
import java.util.Collections;
import java.util.Map;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    AWSAccount body =
        new AWSAccount()
            .accountId("163662907100")
            .accountSpecificNamespaceRules(Map.ofEntries(Map.entry("auto_scaling", false)))
            .cspmResourceCollectionEnabled(true)
            .excludedRegions(Arrays.asList("us-east-1", "us-west-2"))
            .extendedResourceCollectionEnabled(true)
            .filterTags(Collections.singletonList("$KEY:$VALUE"))
            .hostTags(Collections.singletonList("$KEY:$VALUE"))
            .metricsCollectionEnabled(false)
            .roleName("DatadogAWSIntegrationRole");

    try {
      AWSAccountCreateResponse result = apiInstance.createAWSAccount(body);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#createAWSAccount");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Create an AWS integration returns "OK" response
```
from datadog import initialize, api

options = {
    'api_key': '<DATADOG_API_KEY>',
    'app_key': '<DATADOG_APPLICATION_KEY>'
}

initialize(**options)

api.AwsIntegration.create(
    account_id="<AWS_ACCOUNT_ID>",
    host_tags=["tag:example"],
    filter_tags=["filter:example"],
    role_name="<AWS_ROLE_NAME>",
    account_specific_namespace_rules={'namespace1': True/False, 'namespace2': True/False},
    excluded_regions=["us-east-1", "us-west-1"]
)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python-legacy) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python "example.py"


```

#####  Create an AWS integration returns "OK" response
```
"""
Create an AWS integration returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v1.api.aws_integration_api import AWSIntegrationApi
from datadog_api_client.v1.model.aws_account import AWSAccount

body = AWSAccount(
    account_id="163662907100",
    account_specific_namespace_rules=dict(
        auto_scaling=False,
    ),
    cspm_resource_collection_enabled=True,
    excluded_regions=[
        "us-east-1",
        "us-west-2",
    ],
    extended_resource_collection_enabled=True,
    filter_tags=[
        "$KEY:$VALUE",
    ],
    host_tags=[
        "$KEY:$VALUE",
    ],
    metrics_collection_enabled=False,
    role_name="DatadogAWSIntegrationRole",
)

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.create_aws_account(body=body)

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Create an AWS integration returns "OK" response
```
require 'rubygems'
require 'dogapi'

api_key = '<DATADOG_API_KEY>'
app_key = '<DATADOG_APPLICATION_KEY>'

dog = Dogapi::Client.new(api_key, app_key)

config = {
  "account_id": "<AWS_ACCOUNT_ID>",
  "filter_tags": ["<KEY>:<VALUE>"],
  "host_tags": ["<KEY>:<VALUE>"],
  "role_name": "DatadogAWSIntegrationRole",
  "account_specific_namespace_rules": {"auto_scaling": false, "opsworks": false},
  "excluded_regions": ["us-east-1", "us-west-1"]
}

dog.aws_integration_create(config)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby-legacy) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Create an AWS integration returns "OK" response
```
# Create an AWS integration returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::AWSIntegrationAPI.new

body = DatadogAPIClient::V1::AWSAccount.new({
  account_id: "163662907100",
  account_specific_namespace_rules: {
    auto_scaling: false,
  },
  cspm_resource_collection_enabled: true,
  excluded_regions: [
    "us-east-1",
    "us-west-2",
  ],
  extended_resource_collection_enabled: true,
  filter_tags: [
    "$KEY:$VALUE",
  ],
  host_tags: [
    "$KEY:$VALUE",
  ],
  metrics_collection_enabled: false,
  role_name: "DatadogAWSIntegrationRole",
})
p api_instance.create_aws_account(body)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Create an AWS integration returns "OK" response
```
// Create an AWS integration returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV1::api_aws_integration::AWSIntegrationAPI;
use datadog_api_client::datadogV1::model::AWSAccount;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
    let body = AWSAccount::new()
        .account_id("163662907100".to_string())
        .account_specific_namespace_rules(BTreeMap::from([("auto_scaling".to_string(), false)]))
        .cspm_resource_collection_enabled(true)
        .excluded_regions(vec!["us-east-1".to_string(), "us-west-2".to_string()])
        .extended_resource_collection_enabled(true)
        .filter_tags(vec!["$KEY:$VALUE".to_string()])
        .host_tags(vec!["$KEY:$VALUE".to_string()])
        .metrics_collection_enabled(false)
        .role_name("DatadogAWSIntegrationRole".to_string());
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.create_aws_account(body).await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Create an AWS integration returns "OK" response
```
/**
 * Create an AWS integration returns "OK" response
 */

import { client, v1 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v1.AWSIntegrationApi(configuration);

const params: v1.AWSIntegrationApiCreateAWSAccountRequest = {
  body: {
    accountId: "163662907100",
    accountSpecificNamespaceRules: {
      auto_scaling: false,
    },
    cspmResourceCollectionEnabled: true,
    excludedRegions: ["us-east-1", "us-west-2"],
    extendedResourceCollectionEnabled: true,
    filterTags: ["$KEY:$VALUE"],
    hostTags: ["$KEY:$VALUE"],
    metricsCollectionEnabled: false,
    roleName: "DatadogAWSIntegrationRole",
  },
};

apiInstance
  .createAWSAccount(params)
  .then((data: v1.AWSAccountCreateResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

POST https://api.ap1.datadoghq.com/api/v2/integration/aws/accountshttps://api.ap2.datadoghq.com/api/v2/integration/aws/accountshttps://api.datadoghq.eu/api/v2/integration/aws/accountshttps://api.ddog-gov.com/api/v2/integration/aws/accountshttps://api.datadoghq.com/api/v2/integration/aws/accountshttps://api.us3.datadoghq.com/api/v2/integration/aws/accountshttps://api.us5.datadoghq.com/api/v2/integration/aws/accounts
### Overview
Create a new AWS Account Integration Config. This endpoint requires the `aws_configurations_manage` permission.
### Request
#### Body Data (required)
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Expand All
Field
Type
Description
_required_]
object
AWS Account Create Request data.
_required_]
object
The AWS Account Integration Config to be created.
account_tags
[string]
Tags to apply to all hosts and metrics reporting for this account. Defaults to `[]`.
_required_]
<oneOf>
AWS Authentication config.
object
AWS Authentication config to integrate your account using an access key pair.
access_key_id [_required_]
string
AWS Access Key ID.
secret_access_key
string
AWS Secret Access Key.
object
AWS Authentication config to integrate your account using an IAM role.
external_id
string
AWS IAM External ID for associated role.
role_name [_required_]
string
AWS IAM Role name.
aws_account_id [_required_]
string
AWS Account ID.
aws_partition [_required_]
enum
AWS partition your AWS account is scoped to. Defaults to `aws`. See [Partitions](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/partitions.html) in the AWS documentation for more information. Allowed enum values: `aws,aws-cn,aws-us-gov`
<oneOf>
AWS Regions to collect data from. Defaults to `include_all`.
object
Include all regions. Defaults to `true`.
include_all [_required_]
boolean
Include all regions.
object
Include only these regions.
include_only [_required_]
[string]
Include only these regions.
object
AWS Logs Collection config.
object
Log Autosubscription configuration for Datadog Forwarder Lambda functions. Automatically set up triggers for existing and new logs for some services, ensuring no logs from new resources are missed and saving time spent on manual configuration.
lambdas
[string]
List of Datadog Lambda Log Forwarder ARNs in your AWS account. Defaults to `[]`.
object
Log source configuration.
[object]
List of AWS log source tag filters. Defaults to `[]`.
source
string
The AWS log source to which the tag filters defined in `tags` are applied.
tags
[string]
The AWS resource tags to filter on for the log source specified by `source`.
sources
[string]
List of service IDs set to enable automatic log collection. Discover the list of available services with the [Get list of AWS log ready services](https://docs.datadoghq.com/api/latest/aws-logs-integration/#get-list-of-aws-log-ready-services) endpoint.
object
AWS Metrics Collection config.
automute_enabled
boolean
Enable EC2 automute for AWS metrics. Defaults to `true`.
collect_cloudwatch_alarms
boolean
Enable CloudWatch alarms collection. Defaults to `false`.
collect_custom_metrics
boolean
Enable custom metrics collection. Defaults to `false`.
enabled
boolean
Enable AWS metrics collection. Defaults to `true`.
<oneOf>
AWS Metrics namespace filters. Defaults to `exclude_only`.
object
Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`. `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
exclude_only [_required_]
[string]
Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`. `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
object
Include only these namespaces.
include_only [_required_]
[string]
Include only these namespaces.
[object]
AWS Metrics collection tag filters list. Defaults to `[]`.
namespace
string
The AWS service for which the tag filters defined in `tags` will be applied.
tags
[string]
The AWS resource tags to filter on for the service specified by `namespace`.
object
AWS Resources Collection config.
cloud_security_posture_management_collection
boolean
Enable Cloud Security Management to scan AWS resources for vulnerabilities, misconfigurations, identity risks, and compliance violations. Defaults to `false`. Requires `extended_collection` to be set to `true`.
extended_collection
boolean
Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Defaults to `true`. Required for `cloud_security_posture_management_collection`.
object
AWS Traces Collection config.
<oneOf>
AWS X-Ray services to collect traces from. Defaults to `include_only`.
object
Include all services.
include_all [_required_]
boolean
Include all services.
object
Include only these services. Defaults to `[]`.
include_only [_required_]
[string]
Include only these services.
type [_required_]
enum
AWS Account resource type. Allowed enum values: `account`
default: `account`
#####  Create an AWS account returns "AWS Account object" response
```
{
  "data": {
    "attributes": {
      "account_tags": [
        "key:value"
      ],
      "auth_config": {
        "role_name": "DatadogIntegrationRole"
      },
      "aws_account_id": "123456789012",
      "aws_partition": "aws",
      "logs_config": {
        "lambda_forwarder": {
          "lambdas": [
            "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"
          ],
          "log_source_config": {
            "tag_filters": [
              {
                "source": "s3",
                "tags": [
                  "test:test"
                ]
              }
            ]
          },
          "sources": [
            "s3"
          ]
        }
      },
      "metrics_config": {
        "automute_enabled": true,
        "collect_cloudwatch_alarms": true,
        "collect_custom_metrics": true,
        "enabled": true,
        "tag_filters": [
          {
            "namespace": "AWS/EC2",
            "tags": [
              "key:value"
            ]
          }
        ]
      },
      "resources_config": {
        "cloud_security_posture_management_collection": false,
        "extended_collection": false
      },
      "traces_config": {}
    },
    "type": "account"
  }
}
```

Copy
#####  Create an AWS integration returns "AWS Account object" response
```
{
  "data": {
    "attributes": {
      "account_tags": [
        "key:value"
      ],
      "auth_config": {
        "access_key_id": "AKIAIOSFODNN7EXAMPLE",
        "secret_access_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
      },
      "aws_account_id": "123456789012",
      "aws_partition": "aws",
      "logs_config": {
        "lambda_forwarder": {
          "lambdas": [
            "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"
          ],
          "log_source_config": {
            "tag_filters": [
              {
                "source": "s3",
                "tags": [
                  "test:test"
                ]
              }
            ]
          },
          "sources": [
            "s3"
          ]
        }
      },
      "metrics_config": {
        "automute_enabled": true,
        "collect_cloudwatch_alarms": true,
        "collect_custom_metrics": true,
        "enabled": true,
        "tag_filters": [
          {
            "namespace": "AWS/EC2",
            "tags": [
              "key:value"
            ]
          }
        ]
      },
      "resources_config": {
        "cloud_security_posture_management_collection": false,
        "extended_collection": false
      },
      "traces_config": {}
    },
    "type": "account"
  }
}
```

Copy
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSAccount-200-v2)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSAccount-400-v2)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSAccount-403-v2)
  * [409](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSAccount-409-v2)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSAccount-429-v2)


AWS Account object
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


AWS Account response body.
Expand All
Field
Type
Description
_required_]
object
AWS Account response data.
object
AWS Account response attributes.
account_tags
[string]
Tags to apply to all hosts and metrics reporting for this account. Defaults to `[]`.
<oneOf>
AWS Authentication config.
object
AWS Authentication config to integrate your account using an access key pair.
access_key_id [_required_]
string
AWS Access Key ID.
secret_access_key
string
AWS Secret Access Key.
object
AWS Authentication config to integrate your account using an IAM role.
external_id
string
AWS IAM External ID for associated role.
role_name [_required_]
string
AWS IAM Role name.
aws_account_id [_required_]
string
AWS Account ID.
aws_partition
enum
AWS partition your AWS account is scoped to. Defaults to `aws`. See [Partitions](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/partitions.html) in the AWS documentation for more information. Allowed enum values: `aws,aws-cn,aws-us-gov`
<oneOf>
AWS Regions to collect data from. Defaults to `include_all`.
object
Include all regions. Defaults to `true`.
include_all [_required_]
boolean
Include all regions.
object
Include only these regions.
include_only [_required_]
[string]
Include only these regions.
created_at
date-time
Timestamp of when the account integration was created.
object
AWS Logs Collection config.
object
Log Autosubscription configuration for Datadog Forwarder Lambda functions. Automatically set up triggers for existing and new logs for some services, ensuring no logs from new resources are missed and saving time spent on manual configuration.
lambdas
[string]
List of Datadog Lambda Log Forwarder ARNs in your AWS account. Defaults to `[]`.
object
Log source configuration.
[object]
List of AWS log source tag filters. Defaults to `[]`.
source
string
The AWS log source to which the tag filters defined in `tags` are applied.
tags
[string]
The AWS resource tags to filter on for the log source specified by `source`.
sources
[string]
List of service IDs set to enable automatic log collection. Discover the list of available services with the [Get list of AWS log ready services](https://docs.datadoghq.com/api/latest/aws-logs-integration/#get-list-of-aws-log-ready-services) endpoint.
object
AWS Metrics Collection config.
automute_enabled
boolean
Enable EC2 automute for AWS metrics. Defaults to `true`.
collect_cloudwatch_alarms
boolean
Enable CloudWatch alarms collection. Defaults to `false`.
collect_custom_metrics
boolean
Enable custom metrics collection. Defaults to `false`.
enabled
boolean
Enable AWS metrics collection. Defaults to `true`.
<oneOf>
AWS Metrics namespace filters. Defaults to `exclude_only`.
object
Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`. `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
exclude_only [_required_]
[string]
Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`. `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
object
Include only these namespaces.
include_only [_required_]
[string]
Include only these namespaces.
[object]
AWS Metrics collection tag filters list. Defaults to `[]`.
namespace
string
The AWS service for which the tag filters defined in `tags` will be applied.
tags
[string]
The AWS resource tags to filter on for the service specified by `namespace`.
modified_at
date-time
Timestamp of when the account integration was updated.
object
AWS Resources Collection config.
cloud_security_posture_management_collection
boolean
Enable Cloud Security Management to scan AWS resources for vulnerabilities, misconfigurations, identity risks, and compliance violations. Defaults to `false`. Requires `extended_collection` to be set to `true`.
extended_collection
boolean
Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Defaults to `true`. Required for `cloud_security_posture_management_collection`.
object
AWS Traces Collection config.
<oneOf>
AWS X-Ray services to collect traces from. Defaults to `include_only`.
object
Include all services.
include_all [_required_]
boolean
Include all services.
object
Include only these services. Defaults to `[]`.
include_only [_required_]
[string]
Include only these services.
id [_required_]
string
Unique Datadog ID of the AWS Account Integration Config. To get the config ID for an account, use the [List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations) endpoint and query by AWS Account ID.
type [_required_]
enum
AWS Account resource type. Allowed enum values: `account`
default: `account`
```
{
  "data": {
    "attributes": {
      "account_tags": [
        "env:prod"
      ],
      "auth_config": {
        "access_key_id": "AKIAIOSFODNN7EXAMPLE",
        "secret_access_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
      },
      "aws_account_id": "123456789012",
      "aws_partition": "aws",
      "aws_regions": {
        "include_all": true
      },
      "created_at": "2019-09-19T10:00:00.000Z",
      "logs_config": {
        "lambda_forwarder": {
          "lambdas": [
            "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"
          ],
          "log_source_config": {
            "tag_filters": [
              {
                "source": "s3",
                "tags": [
                  "env:prod"
                ]
              }
            ]
          },
          "sources": [
            "s3"
          ]
        }
      },
      "metrics_config": {
        "automute_enabled": true,
        "collect_cloudwatch_alarms": false,
        "collect_custom_metrics": false,
        "enabled": true,
        "namespace_filters": {
          "exclude_only": [
            "AWS/SQS",
            "AWS/ElasticMapReduce",
            "AWS/Usage"
          ]
        },
        "tag_filters": [
          {
            "namespace": "AWS/EC2",
            "tags": [
              "datadog:true"
            ]
          }
        ]
      },
      "modified_at": "2019-09-19T10:00:00.000Z",
      "resources_config": {
        "cloud_security_posture_management_collection": false,
        "extended_collection": true
      },
      "traces_config": {
        "xray_services": {
          "include_all": false
        }
      }
    },
    "id": "00000000-abcd-0001-0000-000000000000",
    "type": "account"
  }
}
```

Copy
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Forbidden
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Conflict
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Create an AWS account returns "AWS Account object" response
Copy
```
                          # Curl command  
curl -X POST "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/aws/accounts" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "account_tags": [
        "key:value"
      ],
      "auth_config": {
        "role_name": "DatadogIntegrationRole"
      },
      "aws_account_id": "123456789012",
      "aws_partition": "aws",
      "logs_config": {
        "lambda_forwarder": {
          "lambdas": [
            "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"
          ],
          "log_source_config": {
            "tag_filters": [
              {
                "source": "s3",
                "tags": [
                  "test:test"
                ]
              }
            ]
          },
          "sources": [
            "s3"
          ]
        }
      },
      "metrics_config": {
        "automute_enabled": true,
        "collect_cloudwatch_alarms": true,
        "collect_custom_metrics": true,
        "enabled": true,
        "tag_filters": [
          {
            "namespace": "AWS/EC2",
            "tags": [
              "key:value"
            ]
          }
        ]
      },
      "resources_config": {
        "cloud_security_posture_management_collection": false,
        "extended_collection": false
      },
      "traces_config": {}
    },
    "type": "account"
  }
}
EOF  

                        
```

#####  Create an AWS integration returns "AWS Account object" response
Copy
```
                          # Curl command  
curl -X POST "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/aws/accounts" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "account_tags": [
        "key:value"
      ],
      "auth_config": {
        "access_key_id": "AKIAIOSFODNN7EXAMPLE",
        "secret_access_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
      },
      "aws_account_id": "123456789012",
      "aws_partition": "aws",
      "logs_config": {
        "lambda_forwarder": {
          "lambdas": [
            "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"
          ],
          "log_source_config": {
            "tag_filters": [
              {
                "source": "s3",
                "tags": [
                  "test:test"
                ]
              }
            ]
          },
          "sources": [
            "s3"
          ]
        }
      },
      "metrics_config": {
        "automute_enabled": true,
        "collect_cloudwatch_alarms": true,
        "collect_custom_metrics": true,
        "enabled": true,
        "tag_filters": [
          {
            "namespace": "AWS/EC2",
            "tags": [
              "key:value"
            ]
          }
        ]
      },
      "resources_config": {
        "cloud_security_posture_management_collection": false,
        "extended_collection": false
      },
      "traces_config": {}
    },
    "type": "account"
  }
}
EOF  

                        
```

#####  Create an AWS account returns "AWS Account object" response 
```
// Create an AWS account returns "AWS Account object" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)

func main() {
	body := datadogV2.AWSAccountCreateRequest{
		Data: datadogV2.AWSAccountCreateRequestData{
			Attributes: datadogV2.AWSAccountCreateRequestAttributes{
				AccountTags: *datadog.NewNullableList(&[]string{
					"key:value",
				}),
				AuthConfig: datadogV2.AWSAuthConfig{
					AWSAuthConfigRole: &datadogV2.AWSAuthConfigRole{
						RoleName: "DatadogIntegrationRole",
					}},
				AwsAccountId: "123456789012",
				AwsPartition: datadogV2.AWSACCOUNTPARTITION_AWS,
				CcmConfig: &datadogV2.AWSCCMConfig{
					DataExportConfigs: []datadogV2.DataExportConfig{
						{
							BucketName:   datadog.PtrString("my-bucket"),
							BucketRegion: datadog.PtrString("us-east-1"),
							ReportName:   datadog.PtrString("my-report"),
							ReportPrefix: datadog.PtrString("reports"),
							ReportType:   datadog.PtrString("CUR2.0"),
						},
					},
				},
				LogsConfig: &datadogV2.AWSLogsConfig{
					LambdaForwarder: &datadogV2.AWSLambdaForwarderConfig{
						Lambdas: []string{
							"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder",
						},
						LogSourceConfig: &datadogV2.AWSLambdaForwarderConfigLogSourceConfig{
							TagFilters: []datadogV2.AWSLogSourceTagFilter{
								{
									Source: datadog.PtrString("s3"),
									Tags: *datadog.NewNullableList(&[]string{
										"test:test",
									}),
								},
							},
						},
						Sources: []string{
							"s3",
						},
					},
				},
				MetricsConfig: &datadogV2.AWSMetricsConfig{
					AutomuteEnabled:         datadog.PtrBool(true),
					CollectCloudwatchAlarms: datadog.PtrBool(true),
					CollectCustomMetrics:    datadog.PtrBool(true),
					Enabled:                 datadog.PtrBool(true),
					TagFilters: []datadogV2.AWSNamespaceTagFilter{
						{
							Namespace: datadog.PtrString("AWS/EC2"),
							Tags: *datadog.NewNullableList(&[]string{
								"key:value",
							}),
						},
					},
				},
				ResourcesConfig: &datadogV2.AWSResourcesConfig{
					CloudSecurityPostureManagementCollection: datadog.PtrBool(false),
					ExtendedCollection:                       datadog.PtrBool(false),
				},
				TracesConfig: &datadogV2.AWSTracesConfig{},
			},
			Type: datadogV2.AWSACCOUNTTYPE_ACCOUNT,
		},
	}
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV2.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.CreateAWSAccount(ctx, body)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.CreateAWSAccount`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.CreateAWSAccount`:\n%s\n", responseContent)
}

```

Copy
#####  Create an AWS integration returns "AWS Account object" response 
```
// Create an AWS integration returns "AWS Account object" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)

func main() {
	body := datadogV2.AWSAccountCreateRequest{
		Data: datadogV2.AWSAccountCreateRequestData{
			Attributes: datadogV2.AWSAccountCreateRequestAttributes{
				AccountTags: *datadog.NewNullableList(&[]string{
					"key:value",
				}),
				AuthConfig: datadogV2.AWSAuthConfig{
					AWSAuthConfigKeys: &datadogV2.AWSAuthConfigKeys{
						AccessKeyId:     "AKIAIOSFODNN7EXAMPLE",
						SecretAccessKey: datadog.PtrString("wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"),
					}},
				AwsAccountId: "123456789012",
				AwsPartition: datadogV2.AWSACCOUNTPARTITION_AWS,
				CcmConfig: &datadogV2.AWSCCMConfig{
					DataExportConfigs: []datadogV2.DataExportConfig{
						{
							BucketName:   datadog.PtrString("my-bucket"),
							BucketRegion: datadog.PtrString("us-east-1"),
							ReportName:   datadog.PtrString("my-report"),
							ReportPrefix: datadog.PtrString("reports"),
							ReportType:   datadog.PtrString("CUR2.0"),
						},
					},
				},
				LogsConfig: &datadogV2.AWSLogsConfig{
					LambdaForwarder: &datadogV2.AWSLambdaForwarderConfig{
						Lambdas: []string{
							"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder",
						},
						LogSourceConfig: &datadogV2.AWSLambdaForwarderConfigLogSourceConfig{
							TagFilters: []datadogV2.AWSLogSourceTagFilter{
								{
									Source: datadog.PtrString("s3"),
									Tags: *datadog.NewNullableList(&[]string{
										"test:test",
									}),
								},
							},
						},
						Sources: []string{
							"s3",
						},
					},
				},
				MetricsConfig: &datadogV2.AWSMetricsConfig{
					AutomuteEnabled:         datadog.PtrBool(true),
					CollectCloudwatchAlarms: datadog.PtrBool(true),
					CollectCustomMetrics:    datadog.PtrBool(true),
					Enabled:                 datadog.PtrBool(true),
					TagFilters: []datadogV2.AWSNamespaceTagFilter{
						{
							Namespace: datadog.PtrString("AWS/EC2"),
							Tags: *datadog.NewNullableList(&[]string{
								"key:value",
							}),
						},
					},
				},
				ResourcesConfig: &datadogV2.AWSResourcesConfig{
					CloudSecurityPostureManagementCollection: datadog.PtrBool(false),
					ExtendedCollection:                       datadog.PtrBool(false),
				},
				TracesConfig: &datadogV2.AWSTracesConfig{},
			},
			Type: datadogV2.AWSACCOUNTTYPE_ACCOUNT,
		},
	}
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV2.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.CreateAWSAccount(ctx, body)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.CreateAWSAccount`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.CreateAWSAccount`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Create an AWS account returns "AWS Account object" response 
```
// Create an AWS account returns "AWS Account object" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.AwsIntegrationApi;
import com.datadog.api.client.v2.model.AWSAccountCreateRequest;
import com.datadog.api.client.v2.model.AWSAccountCreateRequestAttributes;
import com.datadog.api.client.v2.model.AWSAccountCreateRequestData;
import com.datadog.api.client.v2.model.AWSAccountPartition;
import com.datadog.api.client.v2.model.AWSAccountResponse;
import com.datadog.api.client.v2.model.AWSAccountType;
import com.datadog.api.client.v2.model.AWSAuthConfig;
import com.datadog.api.client.v2.model.AWSAuthConfigRole;
import com.datadog.api.client.v2.model.AWSCCMConfig;
import com.datadog.api.client.v2.model.AWSLambdaForwarderConfig;
import com.datadog.api.client.v2.model.AWSLambdaForwarderConfigLogSourceConfig;
import com.datadog.api.client.v2.model.AWSLogSourceTagFilter;
import com.datadog.api.client.v2.model.AWSLogsConfig;
import com.datadog.api.client.v2.model.AWSMetricsConfig;
import com.datadog.api.client.v2.model.AWSNamespaceTagFilter;
import com.datadog.api.client.v2.model.AWSResourcesConfig;
import com.datadog.api.client.v2.model.AWSTracesConfig;
import com.datadog.api.client.v2.model.DataExportConfig;
import java.util.Collections;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    AWSAccountCreateRequest body =
        new AWSAccountCreateRequest()
            .data(
                new AWSAccountCreateRequestData()
                    .attributes(
                        new AWSAccountCreateRequestAttributes()
                            .accountTags(Collections.singletonList("key:value"))
                            .authConfig(
                                new AWSAuthConfig(
                                    new AWSAuthConfigRole().roleName("DatadogIntegrationRole")))
                            .awsAccountId("123456789012")
                            .awsPartition(AWSAccountPartition.AWS)
                            .ccmConfig(
                                new AWSCCMConfig()
                                    .dataExportConfigs(
                                        Collections.singletonList(
                                            new DataExportConfig()
                                                .bucketName("my-bucket")
                                                .bucketRegion("us-east-1")
                                                .reportName("my-report")
                                                .reportPrefix("reports")
                                                .reportType("CUR2.0"))))
                            .logsConfig(
                                new AWSLogsConfig()
                                    .lambdaForwarder(
                                        new AWSLambdaForwarderConfig()
                                            .lambdas(
                                                Collections.singletonList(
                                                    "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"))
                                            .logSourceConfig(
                                                new AWSLambdaForwarderConfigLogSourceConfig()
                                                    .tagFilters(
                                                        Collections.singletonList(
                                                            new AWSLogSourceTagFilter()
                                                                .source("s3")
                                                                .tags(
                                                                    Collections.singletonList(
                                                                        "test:test")))))
                                            .sources(Collections.singletonList("s3"))))
                            .metricsConfig(
                                new AWSMetricsConfig()
                                    .automuteEnabled(true)
                                    .collectCloudwatchAlarms(true)
                                    .collectCustomMetrics(true)
                                    .enabled(true)
                                    .tagFilters(
                                        Collections.singletonList(
                                            new AWSNamespaceTagFilter()
                                                .namespace("AWS/EC2")
                                                .tags(Collections.singletonList("key:value")))))
                            .resourcesConfig(
                                new AWSResourcesConfig()
                                    .cloudSecurityPostureManagementCollection(false)
                                    .extendedCollection(false))
                            .tracesConfig(new AWSTracesConfig()))
                    .type(AWSAccountType.ACCOUNT));

    try {
      AWSAccountResponse result = apiInstance.createAWSAccount(body);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#createAWSAccount");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#####  Create an AWS integration returns "AWS Account object" response 
```
// Create an AWS integration returns "AWS Account object" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.AwsIntegrationApi;
import com.datadog.api.client.v2.model.AWSAccountCreateRequest;
import com.datadog.api.client.v2.model.AWSAccountCreateRequestAttributes;
import com.datadog.api.client.v2.model.AWSAccountCreateRequestData;
import com.datadog.api.client.v2.model.AWSAccountPartition;
import com.datadog.api.client.v2.model.AWSAccountResponse;
import com.datadog.api.client.v2.model.AWSAccountType;
import com.datadog.api.client.v2.model.AWSAuthConfig;
import com.datadog.api.client.v2.model.AWSAuthConfigKeys;
import com.datadog.api.client.v2.model.AWSCCMConfig;
import com.datadog.api.client.v2.model.AWSLambdaForwarderConfig;
import com.datadog.api.client.v2.model.AWSLambdaForwarderConfigLogSourceConfig;
import com.datadog.api.client.v2.model.AWSLogSourceTagFilter;
import com.datadog.api.client.v2.model.AWSLogsConfig;
import com.datadog.api.client.v2.model.AWSMetricsConfig;
import com.datadog.api.client.v2.model.AWSNamespaceTagFilter;
import com.datadog.api.client.v2.model.AWSResourcesConfig;
import com.datadog.api.client.v2.model.AWSTracesConfig;
import com.datadog.api.client.v2.model.DataExportConfig;
import java.util.Collections;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    AWSAccountCreateRequest body =
        new AWSAccountCreateRequest()
            .data(
                new AWSAccountCreateRequestData()
                    .attributes(
                        new AWSAccountCreateRequestAttributes()
                            .accountTags(Collections.singletonList("key:value"))
                            .authConfig(
                                new AWSAuthConfig(
                                    new AWSAuthConfigKeys()
                                        .accessKeyId("AKIAIOSFODNN7EXAMPLE")
                                        .secretAccessKey(
                                            "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY")))
                            .awsAccountId("123456789012")
                            .awsPartition(AWSAccountPartition.AWS)
                            .ccmConfig(
                                new AWSCCMConfig()
                                    .dataExportConfigs(
                                        Collections.singletonList(
                                            new DataExportConfig()
                                                .bucketName("my-bucket")
                                                .bucketRegion("us-east-1")
                                                .reportName("my-report")
                                                .reportPrefix("reports")
                                                .reportType("CUR2.0"))))
                            .logsConfig(
                                new AWSLogsConfig()
                                    .lambdaForwarder(
                                        new AWSLambdaForwarderConfig()
                                            .lambdas(
                                                Collections.singletonList(
                                                    "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"))
                                            .logSourceConfig(
                                                new AWSLambdaForwarderConfigLogSourceConfig()
                                                    .tagFilters(
                                                        Collections.singletonList(
                                                            new AWSLogSourceTagFilter()
                                                                .source("s3")
                                                                .tags(
                                                                    Collections.singletonList(
                                                                        "test:test")))))
                                            .sources(Collections.singletonList("s3"))))
                            .metricsConfig(
                                new AWSMetricsConfig()
                                    .automuteEnabled(true)
                                    .collectCloudwatchAlarms(true)
                                    .collectCustomMetrics(true)
                                    .enabled(true)
                                    .tagFilters(
                                        Collections.singletonList(
                                            new AWSNamespaceTagFilter()
                                                .namespace("AWS/EC2")
                                                .tags(Collections.singletonList("key:value")))))
                            .resourcesConfig(
                                new AWSResourcesConfig()
                                    .cloudSecurityPostureManagementCollection(false)
                                    .extendedCollection(false))
                            .tracesConfig(new AWSTracesConfig()))
                    .type(AWSAccountType.ACCOUNT));

    try {
      AWSAccountResponse result = apiInstance.createAWSAccount(body);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#createAWSAccount");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Create an AWS account returns "AWS Account object" response 
```
"""
Create an AWS account returns "AWS Account object" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.aws_integration_api import AWSIntegrationApi
from datadog_api_client.v2.model.aws_account_create_request import AWSAccountCreateRequest
from datadog_api_client.v2.model.aws_account_create_request_attributes import AWSAccountCreateRequestAttributes
from datadog_api_client.v2.model.aws_account_create_request_data import AWSAccountCreateRequestData
from datadog_api_client.v2.model.aws_account_partition import AWSAccountPartition
from datadog_api_client.v2.model.aws_account_type import AWSAccountType
from datadog_api_client.v2.model.aws_auth_config_role import AWSAuthConfigRole
from datadog_api_client.v2.model.aws_lambda_forwarder_config import AWSLambdaForwarderConfig
from datadog_api_client.v2.model.aws_lambda_forwarder_config_log_source_config import (
    AWSLambdaForwarderConfigLogSourceConfig,
)
from datadog_api_client.v2.model.aws_log_source_tag_filter import AWSLogSourceTagFilter
from datadog_api_client.v2.model.aws_logs_config import AWSLogsConfig
from datadog_api_client.v2.model.aws_metrics_config import AWSMetricsConfig
from datadog_api_client.v2.model.aws_namespace_tag_filter import AWSNamespaceTagFilter
from datadog_api_client.v2.model.aws_resources_config import AWSResourcesConfig
from datadog_api_client.v2.model.aws_traces_config import AWSTracesConfig
from datadog_api_client.v2.model.awsccm_config import AWSCCMConfig
from datadog_api_client.v2.model.data_export_config import DataExportConfig

body = AWSAccountCreateRequest(
    data=AWSAccountCreateRequestData(
        attributes=AWSAccountCreateRequestAttributes(
            account_tags=[
                "key:value",
            ],
            auth_config=AWSAuthConfigRole(
                role_name="DatadogIntegrationRole",
            ),
            aws_account_id="123456789012",
            aws_partition=AWSAccountPartition.AWS,
            ccm_config=AWSCCMConfig(
                data_export_configs=[
                    DataExportConfig(
                        bucket_name="my-bucket",
                        bucket_region="us-east-1",
                        report_name="my-report",
                        report_prefix="reports",
                        report_type="CUR2.0",
                    ),
                ],
            ),
            logs_config=AWSLogsConfig(
                lambda_forwarder=AWSLambdaForwarderConfig(
                    lambdas=[
                        "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder",
                    ],
                    log_source_config=AWSLambdaForwarderConfigLogSourceConfig(
                        tag_filters=[
                            AWSLogSourceTagFilter(
                                source="s3",
                                tags=[
                                    "test:test",
                                ],
                            ),
                        ],
                    ),
                    sources=[
                        "s3",
                    ],
                ),
            ),
            metrics_config=AWSMetricsConfig(
                automute_enabled=True,
                collect_cloudwatch_alarms=True,
                collect_custom_metrics=True,
                enabled=True,
                tag_filters=[
                    AWSNamespaceTagFilter(
                        namespace="AWS/EC2",
                        tags=[
                            "key:value",
                        ],
                    ),
                ],
            ),
            resources_config=AWSResourcesConfig(
                cloud_security_posture_management_collection=False,
                extended_collection=False,
            ),
            traces_config=AWSTracesConfig(),
        ),
        type=AWSAccountType.ACCOUNT,
    ),
)

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.create_aws_account(body=body)

    print(response)

```

Copy
#####  Create an AWS integration returns "AWS Account object" response 
```
"""
Create an AWS integration returns "AWS Account object" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.aws_integration_api import AWSIntegrationApi
from datadog_api_client.v2.model.aws_account_create_request import AWSAccountCreateRequest
from datadog_api_client.v2.model.aws_account_create_request_attributes import AWSAccountCreateRequestAttributes
from datadog_api_client.v2.model.aws_account_create_request_data import AWSAccountCreateRequestData
from datadog_api_client.v2.model.aws_account_partition import AWSAccountPartition
from datadog_api_client.v2.model.aws_account_type import AWSAccountType
from datadog_api_client.v2.model.aws_auth_config_keys import AWSAuthConfigKeys
from datadog_api_client.v2.model.aws_lambda_forwarder_config import AWSLambdaForwarderConfig
from datadog_api_client.v2.model.aws_lambda_forwarder_config_log_source_config import (
    AWSLambdaForwarderConfigLogSourceConfig,
)
from datadog_api_client.v2.model.aws_log_source_tag_filter import AWSLogSourceTagFilter
from datadog_api_client.v2.model.aws_logs_config import AWSLogsConfig
from datadog_api_client.v2.model.aws_metrics_config import AWSMetricsConfig
from datadog_api_client.v2.model.aws_namespace_tag_filter import AWSNamespaceTagFilter
from datadog_api_client.v2.model.aws_resources_config import AWSResourcesConfig
from datadog_api_client.v2.model.aws_traces_config import AWSTracesConfig
from datadog_api_client.v2.model.awsccm_config import AWSCCMConfig
from datadog_api_client.v2.model.data_export_config import DataExportConfig

body = AWSAccountCreateRequest(
    data=AWSAccountCreateRequestData(
        attributes=AWSAccountCreateRequestAttributes(
            account_tags=[
                "key:value",
            ],
            auth_config=AWSAuthConfigKeys(
                access_key_id="AKIAIOSFODNN7EXAMPLE",
                secret_access_key="wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
            ),
            aws_account_id="123456789012",
            aws_partition=AWSAccountPartition.AWS,
            ccm_config=AWSCCMConfig(
                data_export_configs=[
                    DataExportConfig(
                        bucket_name="my-bucket",
                        bucket_region="us-east-1",
                        report_name="my-report",
                        report_prefix="reports",
                        report_type="CUR2.0",
                    ),
                ],
            ),
            logs_config=AWSLogsConfig(
                lambda_forwarder=AWSLambdaForwarderConfig(
                    lambdas=[
                        "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder",
                    ],
                    log_source_config=AWSLambdaForwarderConfigLogSourceConfig(
                        tag_filters=[
                            AWSLogSourceTagFilter(
                                source="s3",
                                tags=[
                                    "test:test",
                                ],
                            ),
                        ],
                    ),
                    sources=[
                        "s3",
                    ],
                ),
            ),
            metrics_config=AWSMetricsConfig(
                automute_enabled=True,
                collect_cloudwatch_alarms=True,
                collect_custom_metrics=True,
                enabled=True,
                tag_filters=[
                    AWSNamespaceTagFilter(
                        namespace="AWS/EC2",
                        tags=[
                            "key:value",
                        ],
                    ),
                ],
            ),
            resources_config=AWSResourcesConfig(
                cloud_security_posture_management_collection=False,
                extended_collection=False,
            ),
            traces_config=AWSTracesConfig(),
        ),
        type=AWSAccountType.ACCOUNT,
    ),
)

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.create_aws_account(body=body)

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Create an AWS account returns "AWS Account object" response 
```
# Create an AWS account returns "AWS Account object" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::AWSIntegrationAPI.new

body = DatadogAPIClient::V2::AWSAccountCreateRequest.new({
  data: DatadogAPIClient::V2::AWSAccountCreateRequestData.new({
    attributes: DatadogAPIClient::V2::AWSAccountCreateRequestAttributes.new({
      account_tags: [
        "key:value",
      ],
      auth_config: DatadogAPIClient::V2::AWSAuthConfigRole.new({
        role_name: "DatadogIntegrationRole",
      }),
      aws_account_id: "123456789012",
      aws_partition: DatadogAPIClient::V2::AWSAccountPartition::AWS,
      ccm_config: DatadogAPIClient::V2::AWSCCMConfig.new({
        data_export_configs: [
          DatadogAPIClient::V2::DataExportConfig.new({
            bucket_name: "my-bucket",
            bucket_region: "us-east-1",
            report_name: "my-report",
            report_prefix: "reports",
            report_type: "CUR2.0",
          }),
        ],
      }),
      logs_config: DatadogAPIClient::V2::AWSLogsConfig.new({
        lambda_forwarder: DatadogAPIClient::V2::AWSLambdaForwarderConfig.new({
          lambdas: [
            "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder",
          ],
          log_source_config: DatadogAPIClient::V2::AWSLambdaForwarderConfigLogSourceConfig.new({
            tag_filters: [
              DatadogAPIClient::V2::AWSLogSourceTagFilter.new({
                source: "s3",
                tags: [
                  "test:test",
                ],
              }),
            ],
          }),
          sources: [
            "s3",
          ],
        }),
      }),
      metrics_config: DatadogAPIClient::V2::AWSMetricsConfig.new({
        automute_enabled: true,
        collect_cloudwatch_alarms: true,
        collect_custom_metrics: true,
        enabled: true,
        tag_filters: [
          DatadogAPIClient::V2::AWSNamespaceTagFilter.new({
            namespace: "AWS/EC2",
            tags: [
              "key:value",
            ],
          }),
        ],
      }),
      resources_config: DatadogAPIClient::V2::AWSResourcesConfig.new({
        cloud_security_posture_management_collection: false,
        extended_collection: false,
      }),
      traces_config: DatadogAPIClient::V2::AWSTracesConfig.new({}),
    }),
    type: DatadogAPIClient::V2::AWSAccountType::ACCOUNT,
  }),
})
p api_instance.create_aws_account(body)

```

Copy
#####  Create an AWS integration returns "AWS Account object" response 
```
# Create an AWS integration returns "AWS Account object" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::AWSIntegrationAPI.new

body = DatadogAPIClient::V2::AWSAccountCreateRequest.new({
  data: DatadogAPIClient::V2::AWSAccountCreateRequestData.new({
    attributes: DatadogAPIClient::V2::AWSAccountCreateRequestAttributes.new({
      account_tags: [
        "key:value",
      ],
      auth_config: DatadogAPIClient::V2::AWSAuthConfigKeys.new({
        access_key_id: "AKIAIOSFODNN7EXAMPLE",
        secret_access_key: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
      }),
      aws_account_id: "123456789012",
      aws_partition: DatadogAPIClient::V2::AWSAccountPartition::AWS,
      ccm_config: DatadogAPIClient::V2::AWSCCMConfig.new({
        data_export_configs: [
          DatadogAPIClient::V2::DataExportConfig.new({
            bucket_name: "my-bucket",
            bucket_region: "us-east-1",
            report_name: "my-report",
            report_prefix: "reports",
            report_type: "CUR2.0",
          }),
        ],
      }),
      logs_config: DatadogAPIClient::V2::AWSLogsConfig.new({
        lambda_forwarder: DatadogAPIClient::V2::AWSLambdaForwarderConfig.new({
          lambdas: [
            "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder",
          ],
          log_source_config: DatadogAPIClient::V2::AWSLambdaForwarderConfigLogSourceConfig.new({
            tag_filters: [
              DatadogAPIClient::V2::AWSLogSourceTagFilter.new({
                source: "s3",
                tags: [
                  "test:test",
                ],
              }),
            ],
          }),
          sources: [
            "s3",
          ],
        }),
      }),
      metrics_config: DatadogAPIClient::V2::AWSMetricsConfig.new({
        automute_enabled: true,
        collect_cloudwatch_alarms: true,
        collect_custom_metrics: true,
        enabled: true,
        tag_filters: [
          DatadogAPIClient::V2::AWSNamespaceTagFilter.new({
            namespace: "AWS/EC2",
            tags: [
              "key:value",
            ],
          }),
        ],
      }),
      resources_config: DatadogAPIClient::V2::AWSResourcesConfig.new({
        cloud_security_posture_management_collection: false,
        extended_collection: false,
      }),
      traces_config: DatadogAPIClient::V2::AWSTracesConfig.new({}),
    }),
    type: DatadogAPIClient::V2::AWSAccountType::ACCOUNT,
  }),
})
p api_instance.create_aws_account(body)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Create an AWS account returns "AWS Account object" response 
```
// Create an AWS account returns "AWS Account object" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_aws_integration::AWSIntegrationAPI;
use datadog_api_client::datadogV2::model::AWSAccountCreateRequest;
use datadog_api_client::datadogV2::model::AWSAccountCreateRequestAttributes;
use datadog_api_client::datadogV2::model::AWSAccountCreateRequestData;
use datadog_api_client::datadogV2::model::AWSAccountPartition;
use datadog_api_client::datadogV2::model::AWSAccountType;
use datadog_api_client::datadogV2::model::AWSAuthConfig;
use datadog_api_client::datadogV2::model::AWSAuthConfigRole;
use datadog_api_client::datadogV2::model::AWSCCMConfig;
use datadog_api_client::datadogV2::model::AWSLambdaForwarderConfig;
use datadog_api_client::datadogV2::model::AWSLambdaForwarderConfigLogSourceConfig;
use datadog_api_client::datadogV2::model::AWSLogSourceTagFilter;
use datadog_api_client::datadogV2::model::AWSLogsConfig;
use datadog_api_client::datadogV2::model::AWSMetricsConfig;
use datadog_api_client::datadogV2::model::AWSNamespaceTagFilter;
use datadog_api_client::datadogV2::model::AWSResourcesConfig;
use datadog_api_client::datadogV2::model::AWSTracesConfig;
use datadog_api_client::datadogV2::model::DataExportConfig;

#[tokio::main]
async fn main() {
    let body = AWSAccountCreateRequest::new(AWSAccountCreateRequestData::new(
        AWSAccountCreateRequestAttributes::new(
            AWSAuthConfig::AWSAuthConfigRole(Box::new(AWSAuthConfigRole::new(
                "DatadogIntegrationRole".to_string(),
            ))),
            "123456789012".to_string(),
            AWSAccountPartition::AWS,
        )
        .account_tags(Some(vec!["key:value".to_string()]))
        .ccm_config(AWSCCMConfig::new().data_export_configs(vec![
                                DataExportConfig::new()
                                    .bucket_name("my-bucket".to_string())
                                    .bucket_region("us-east-1".to_string())
                                    .report_name("my-report".to_string())
                                    .report_prefix("reports".to_string())
                                    .report_type("CUR2.0".to_string())
                            ]))
        .logs_config(
            AWSLogsConfig::new().lambda_forwarder(
                AWSLambdaForwarderConfig::new()
                    .lambdas(vec![
                        "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"
                            .to_string(),
                    ])
                    .log_source_config(AWSLambdaForwarderConfigLogSourceConfig::new().tag_filters(
                        vec![
                                            AWSLogSourceTagFilter::new()
                                                .source("s3".to_string())
                                                .tags(Some(vec!["test:test".to_string()]))
                                        ],
                    ))
                    .sources(vec!["s3".to_string()]),
            ),
        )
        .metrics_config(
            AWSMetricsConfig::new()
                .automute_enabled(true)
                .collect_cloudwatch_alarms(true)
                .collect_custom_metrics(true)
                .enabled(true)
                .tag_filters(vec![AWSNamespaceTagFilter::new()
                    .namespace("AWS/EC2".to_string())
                    .tags(Some(vec!["key:value".to_string()]))]),
        )
        .resources_config(
            AWSResourcesConfig::new()
                .cloud_security_posture_management_collection(false)
                .extended_collection(false),
        )
        .traces_config(AWSTracesConfig::new()),
        AWSAccountType::ACCOUNT,
    ));
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.create_aws_account(body).await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#####  Create an AWS integration returns "AWS Account object" response 
```
// Create an AWS integration returns "AWS Account object" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_aws_integration::AWSIntegrationAPI;
use datadog_api_client::datadogV2::model::AWSAccountCreateRequest;
use datadog_api_client::datadogV2::model::AWSAccountCreateRequestAttributes;
use datadog_api_client::datadogV2::model::AWSAccountCreateRequestData;
use datadog_api_client::datadogV2::model::AWSAccountPartition;
use datadog_api_client::datadogV2::model::AWSAccountType;
use datadog_api_client::datadogV2::model::AWSAuthConfig;
use datadog_api_client::datadogV2::model::AWSAuthConfigKeys;
use datadog_api_client::datadogV2::model::AWSCCMConfig;
use datadog_api_client::datadogV2::model::AWSLambdaForwarderConfig;
use datadog_api_client::datadogV2::model::AWSLambdaForwarderConfigLogSourceConfig;
use datadog_api_client::datadogV2::model::AWSLogSourceTagFilter;
use datadog_api_client::datadogV2::model::AWSLogsConfig;
use datadog_api_client::datadogV2::model::AWSMetricsConfig;
use datadog_api_client::datadogV2::model::AWSNamespaceTagFilter;
use datadog_api_client::datadogV2::model::AWSResourcesConfig;
use datadog_api_client::datadogV2::model::AWSTracesConfig;
use datadog_api_client::datadogV2::model::DataExportConfig;

#[tokio::main]
async fn main() {
    let body = AWSAccountCreateRequest::new(AWSAccountCreateRequestData::new(
        AWSAccountCreateRequestAttributes::new(
            AWSAuthConfig::AWSAuthConfigKeys(Box::new(
                AWSAuthConfigKeys::new("AKIAIOSFODNN7EXAMPLE".to_string())
                    .secret_access_key("wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY".to_string()),
            )),
            "123456789012".to_string(),
            AWSAccountPartition::AWS,
        )
        .account_tags(Some(vec!["key:value".to_string()]))
        .ccm_config(AWSCCMConfig::new().data_export_configs(vec![
                                DataExportConfig::new()
                                    .bucket_name("my-bucket".to_string())
                                    .bucket_region("us-east-1".to_string())
                                    .report_name("my-report".to_string())
                                    .report_prefix("reports".to_string())
                                    .report_type("CUR2.0".to_string())
                            ]))
        .logs_config(
            AWSLogsConfig::new().lambda_forwarder(
                AWSLambdaForwarderConfig::new()
                    .lambdas(vec![
                        "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"
                            .to_string(),
                    ])
                    .log_source_config(AWSLambdaForwarderConfigLogSourceConfig::new().tag_filters(
                        vec![
                                            AWSLogSourceTagFilter::new()
                                                .source("s3".to_string())
                                                .tags(Some(vec!["test:test".to_string()]))
                                        ],
                    ))
                    .sources(vec!["s3".to_string()]),
            ),
        )
        .metrics_config(
            AWSMetricsConfig::new()
                .automute_enabled(true)
                .collect_cloudwatch_alarms(true)
                .collect_custom_metrics(true)
                .enabled(true)
                .tag_filters(vec![AWSNamespaceTagFilter::new()
                    .namespace("AWS/EC2".to_string())
                    .tags(Some(vec!["key:value".to_string()]))]),
        )
        .resources_config(
            AWSResourcesConfig::new()
                .cloud_security_posture_management_collection(false)
                .extended_collection(false),
        )
        .traces_config(AWSTracesConfig::new()),
        AWSAccountType::ACCOUNT,
    ));
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.create_aws_account(body).await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Create an AWS account returns "AWS Account object" response 
```
/**
 * Create an AWS account returns "AWS Account object" response
 */

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AWSIntegrationApi(configuration);

const params: v2.AWSIntegrationApiCreateAWSAccountRequest = {
  body: {
    data: {
      attributes: {
        accountTags: ["key:value"],
        authConfig: {
          roleName: "DatadogIntegrationRole",
        },
        awsAccountId: "123456789012",
        awsPartition: "aws",
        ccmConfig: {
          dataExportConfigs: [
            {
              bucketName: "my-bucket",
              bucketRegion: "us-east-1",
              reportName: "my-report",
              reportPrefix: "reports",
              reportType: "CUR2.0",
            },
          ],
        },
        logsConfig: {
          lambdaForwarder: {
            lambdas: [
              "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder",
            ],
            logSourceConfig: {
              tagFilters: [
                {
                  source: "s3",
                  tags: ["test:test"],
                },
              ],
            },
            sources: ["s3"],
          },
        },
        metricsConfig: {
          automuteEnabled: true,
          collectCloudwatchAlarms: true,
          collectCustomMetrics: true,
          enabled: true,
          tagFilters: [
            {
              namespace: "AWS/EC2",
              tags: ["key:value"],
            },
          ],
        },
        resourcesConfig: {
          cloudSecurityPostureManagementCollection: false,
          extendedCollection: false,
        },
        tracesConfig: {},
      },
      type: "account",
    },
  },
};

apiInstance
  .createAWSAccount(params)
  .then((data: v2.AWSAccountResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#####  Create an AWS integration returns "AWS Account object" response 
```
/**
 * Create an AWS integration returns "AWS Account object" response
 */

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AWSIntegrationApi(configuration);

const params: v2.AWSIntegrationApiCreateAWSAccountRequest = {
  body: {
    data: {
      attributes: {
        accountTags: ["key:value"],
        authConfig: {
          accessKeyId: "AKIAIOSFODNN7EXAMPLE",
          secretAccessKey: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
        },
        awsAccountId: "123456789012",
        awsPartition: "aws",
        ccmConfig: {
          dataExportConfigs: [
            {
              bucketName: "my-bucket",
              bucketRegion: "us-east-1",
              reportName: "my-report",
              reportPrefix: "reports",
              reportType: "CUR2.0",
            },
          ],
        },
        logsConfig: {
          lambdaForwarder: {
            lambdas: [
              "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder",
            ],
            logSourceConfig: {
              tagFilters: [
                {
                  source: "s3",
                  tags: ["test:test"],
                },
              ],
            },
            sources: ["s3"],
          },
        },
        metricsConfig: {
          automuteEnabled: true,
          collectCloudwatchAlarms: true,
          collectCustomMetrics: true,
          enabled: true,
          tagFilters: [
            {
              namespace: "AWS/EC2",
              tags: ["key:value"],
            },
          ],
        },
        resourcesConfig: {
          cloudSecurityPostureManagementCollection: false,
          extendedCollection: false,
        },
        tracesConfig: {},
      },
      type: "account",
    },
  },
};

apiInstance
  .createAWSAccount(params)
  .then((data: v2.AWSAccountResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

* * *
## [Get resource collection IAM permissions](https://docs.datadoghq.com/api/latest/aws-integration/#get-resource-collection-iam-permissions)
  * [v2 (latest)](https://docs.datadoghq.com/api/latest/aws-integration/#get-resource-collection-iam-permissions-v2)


GET https://api.ap1.datadoghq.com/api/v2/integration/aws/iam_permissions/resource_collectionhttps://api.ap2.datadoghq.com/api/v2/integration/aws/iam_permissions/resource_collectionhttps://api.datadoghq.eu/api/v2/integration/aws/iam_permissions/resource_collectionhttps://api.ddog-gov.com/api/v2/integration/aws/iam_permissions/resource_collectionhttps://api.datadoghq.com/api/v2/integration/aws/iam_permissions/resource_collectionhttps://api.us3.datadoghq.com/api/v2/integration/aws/iam_permissions/resource_collectionhttps://api.us5.datadoghq.com/api/v2/integration/aws/iam_permissions/resource_collection
### Overview
Get all resource collection AWS IAM permissions required for the AWS integration.
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#GetAWSIntegrationIAMPermissionsResourceCollection-200-v2)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#GetAWSIntegrationIAMPermissionsResourceCollection-429-v2)


AWS integration resource collection IAM permissions.
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


AWS Integration IAM Permissions response body.
Expand All
Field
Type
Description
_required_]
object
AWS Integration IAM Permissions response data.
object
AWS Integration IAM Permissions response attributes.
permissions [_required_]
[string]
List of AWS IAM permissions required for the integration.
id
string
The `AWSIntegrationIamPermissionsResponseData` `id`.
default: `permissions`
type
enum
The `AWSIntegrationIamPermissionsResponseData` `type`. Allowed enum values: `permissions`
default: `permissions`
```
{
  "data": {
    "attributes": {
      "permissions": [
        "account:GetContactInformation",
        "amplify:ListApps",
        "amplify:ListArtifacts",
        "amplify:ListBackendEnvironments",
        "amplify:ListBranches"
      ]
    },
    "id": "permissions",
    "type": "permissions"
  }
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Get resource collection IAM permissions
Copy
```
                  # Curl command  
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/aws/iam_permissions/resource_collection" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"  

                
```

#####  Get resource collection IAM permissions
```
"""
Get resource collection IAM permissions returns "AWS integration resource collection IAM permissions." response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.aws_integration_api import AWSIntegrationApi

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.get_aws_integration_iam_permissions_resource_collection()

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Get resource collection IAM permissions
```
# Get resource collection IAM permissions returns "AWS integration resource collection IAM permissions." response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::AWSIntegrationAPI.new
p api_instance.get_aws_integration_iam_permissions_resource_collection()

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Get resource collection IAM permissions
```
// Get resource collection IAM permissions returns "AWS integration resource collection IAM permissions." response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)

func main() {
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV2.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.GetAWSIntegrationIAMPermissionsResourceCollection(ctx)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.GetAWSIntegrationIAMPermissionsResourceCollection`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.GetAWSIntegrationIAMPermissionsResourceCollection`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Get resource collection IAM permissions
```
// Get resource collection IAM permissions returns "AWS integration resource collection IAM
// permissions." response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.AwsIntegrationApi;
import com.datadog.api.client.v2.model.AWSIntegrationIamPermissionsResponse;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    try {
      AWSIntegrationIamPermissionsResponse result =
          apiInstance.getAWSIntegrationIAMPermissionsResourceCollection();
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println(
          "Exception when calling"
              + " AwsIntegrationApi#getAWSIntegrationIAMPermissionsResourceCollection");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Get resource collection IAM permissions
```
// Get resource collection IAM permissions returns "AWS integration resource
// collection IAM permissions." response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_aws_integration::AWSIntegrationAPI;

#[tokio::main]
async fn main() {
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api
        .get_aws_integration_iam_permissions_resource_collection()
        .await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Get resource collection IAM permissions
```
/**
 * Get resource collection IAM permissions returns "AWS integration resource collection IAM permissions." response
 */

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AWSIntegrationApi(configuration);

apiInstance
  .getAWSIntegrationIAMPermissionsResourceCollection()
  .then((data: v2.AWSIntegrationIamPermissionsResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

* * *
## [Update an AWS integration](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-aws-integration)
  * [v1](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-aws-integration-v1)
  * [v2 (latest)](https://docs.datadoghq.com/api/latest/aws-integration/#update-an-aws-integration-v2)


PUT https://api.ap1.datadoghq.com/api/v1/integration/awshttps://api.ap2.datadoghq.com/api/v1/integration/awshttps://api.datadoghq.eu/api/v1/integration/awshttps://api.ddog-gov.com/api/v1/integration/awshttps://api.datadoghq.com/api/v1/integration/awshttps://api.us3.datadoghq.com/api/v1/integration/awshttps://api.us5.datadoghq.com/api/v1/integration/aws
### Overview
**This endpoint is deprecated - use the V2 endpoints instead.** Update a Datadog-Amazon Web Services integration. This endpoint requires the `aws_configuration_edit` permission.
### Arguments
#### Query Strings
Name
Type
Description
account_id
string
Only return AWS accounts that matches this `account_id`.
role_name
string
Only return AWS accounts that match this `role_name`. Required if `account_id` is specified.
access_key_id
string
Only return AWS accounts that matches this `access_key_id`. Required if none of the other two options are specified.
### Request
#### Body Data (required)
AWS request object
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Expand All
Field
Type
Description
access_key_id
string
Your AWS access key ID. Only required if your AWS account is a GovCloud or China account.
account_id
string
Your AWS Account ID without dashes.
object
An object (in the form `{"namespace1":true/false, "namespace2":true/false}`) containing user-supplied overrides for AWS namespace metric collection. **Important** : This field only contains namespaces explicitly configured through API calls, not the comprehensive enabled or disabled status of all namespaces. If a namespace is absent from this field, it uses Datadog's internal defaults (all namespaces enabled by default, except `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage`). For a complete view of all namespace statuses, use the V2 AWS Integration API instead.
<any-key>
boolean
A list of additional properties.
cspm_resource_collection_enabled
boolean
Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general `resource_collection`.
excluded_regions
[string]
An array of [AWS regions](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints) to exclude from metrics collection.
extended_resource_collection_enabled
boolean
Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Required for `cspm_resource_collection`.
filter_tags
[string]
The array of EC2 tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from EC2. Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used. Only hosts that match one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be excluded by adding `!` before the tag. For example, `env:production,instance-type:c1.*,!region:us-east-1`
host_tags
[string]
Array of tags (in the form `key:value`) to add to all hosts and metrics reporting through this integration.
metrics_collection_enabled
boolean
Whether Datadog collects metrics for this AWS account.
default: `true`
resource_collection_enabled
boolean
**DEPRECATED** : Deprecated in favor of 'extended_resource_collection_enabled'. Whether Datadog collects a standard set of resources from your AWS account.
role_name
string
Your Datadog role delegation name.
secret_access_key
string
Your AWS secret access key. Only required if your AWS account is a GovCloud or China account.
```
{
  "account_id": "163662907100",
  "account_specific_namespace_rules": {
    "auto_scaling": false
  },
  "cspm_resource_collection_enabled": false,
  "excluded_regions": [
    "us-east-1",
    "us-west-2"
  ],
  "extended_resource_collection_enabled": true,
  "filter_tags": [
    "$KEY:$VALUE"
  ],
  "host_tags": [
    "$KEY:$VALUE"
  ],
  "metrics_collection_enabled": true,
  "role_name": "DatadogAWSIntegrationRole"
}
```

Copy
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#UpdateAWSAccount-200-v1)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#UpdateAWSAccount-400-v1)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#UpdateAWSAccount-403-v1)
  * [409](https://docs.datadoghq.com/api/latest/aws-integration/#UpdateAWSAccount-409-v1)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#UpdateAWSAccount-429-v1)


OK
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Expand All
Field
Type
Description
No response body
```
{}
```

Copy
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Authentication Error
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Conflict Error
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Update an AWS integration returns "OK" response
Copy
```
                          # Curl command  
curl -X PUT "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v1/integration/aws" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{
  "account_id": "163662907100",
  "account_specific_namespace_rules": {
    "auto_scaling": false
  },
  "cspm_resource_collection_enabled": false,
  "excluded_regions": [
    "us-east-1",
    "us-west-2"
  ],
  "extended_resource_collection_enabled": true,
  "filter_tags": [
    "$KEY:$VALUE"
  ],
  "host_tags": [
    "$KEY:$VALUE"
  ],
  "metrics_collection_enabled": true,
  "role_name": "DatadogAWSIntegrationRole"
}
EOF  

                        
```

#####  Update an AWS integration returns "OK" response
```
// Update an AWS integration returns "OK" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV1"
)

func main() {
	body := datadogV1.AWSAccount{
		AccountId: datadog.PtrString("163662907100"),
		AccountSpecificNamespaceRules: map[string]bool{
			"auto_scaling": false,
		},
		CspmResourceCollectionEnabled: datadog.PtrBool(false),
		ExcludedRegions: []string{
			"us-east-1",
			"us-west-2",
		},
		ExtendedResourceCollectionEnabled: datadog.PtrBool(true),
		FilterTags: []string{
			"$KEY:$VALUE",
		},
		HostTags: []string{
			"$KEY:$VALUE",
		},
		MetricsCollectionEnabled: datadog.PtrBool(true),
		RoleName:                 datadog.PtrString("DatadogAWSIntegrationRole"),
	}
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV1.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.UpdateAWSAccount(ctx, body, *datadogV1.NewUpdateAWSAccountOptionalParameters().WithAccountId("163662907100").WithRoleName("DatadogAWSIntegrationRole"))

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.UpdateAWSAccount`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.UpdateAWSAccount`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Update an AWS integration returns "OK" response
```
// Update an AWS integration returns "OK" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v1.api.AwsIntegrationApi;
import com.datadog.api.client.v1.api.AwsIntegrationApi.UpdateAWSAccountOptionalParameters;
import com.datadog.api.client.v1.model.AWSAccount;
import java.util.Arrays;
import java.util.Collections;
import java.util.Map;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    AWSAccount body =
        new AWSAccount()
            .accountId("163662907100")
            .accountSpecificNamespaceRules(Map.ofEntries(Map.entry("auto_scaling", false)))
            .cspmResourceCollectionEnabled(false)
            .excludedRegions(Arrays.asList("us-east-1", "us-west-2"))
            .extendedResourceCollectionEnabled(true)
            .filterTags(Collections.singletonList("$KEY:$VALUE"))
            .hostTags(Collections.singletonList("$KEY:$VALUE"))
            .metricsCollectionEnabled(true)
            .roleName("DatadogAWSIntegrationRole");

    try {
      apiInstance.updateAWSAccount(
          body,
          new UpdateAWSAccountOptionalParameters()
              .accountId("163662907100")
              .roleName("DatadogAWSIntegrationRole"));
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#updateAWSAccount");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Update an AWS integration returns "OK" response
```
"""
Update an AWS integration returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v1.api.aws_integration_api import AWSIntegrationApi
from datadog_api_client.v1.model.aws_account import AWSAccount

body = AWSAccount(
    account_id="163662907100",
    account_specific_namespace_rules=dict(
        auto_scaling=False,
    ),
    cspm_resource_collection_enabled=False,
    excluded_regions=[
        "us-east-1",
        "us-west-2",
    ],
    extended_resource_collection_enabled=True,
    filter_tags=[
        "$KEY:$VALUE",
    ],
    host_tags=[
        "$KEY:$VALUE",
    ],
    metrics_collection_enabled=True,
    role_name="DatadogAWSIntegrationRole",
)

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.update_aws_account(
        account_id="163662907100", role_name="DatadogAWSIntegrationRole", body=body
    )

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Update an AWS integration returns "OK" response
```
# Update an AWS integration returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::AWSIntegrationAPI.new

body = DatadogAPIClient::V1::AWSAccount.new({
  account_id: "163662907100",
  account_specific_namespace_rules: {
    auto_scaling: false,
  },
  cspm_resource_collection_enabled: false,
  excluded_regions: [
    "us-east-1",
    "us-west-2",
  ],
  extended_resource_collection_enabled: true,
  filter_tags: [
    "$KEY:$VALUE",
  ],
  host_tags: [
    "$KEY:$VALUE",
  ],
  metrics_collection_enabled: true,
  role_name: "DatadogAWSIntegrationRole",
})
opts = {
  account_id: "163662907100",
  role_name: "DatadogAWSIntegrationRole",
}
p api_instance.update_aws_account(body, opts)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Update an AWS integration returns "OK" response
```
// Update an AWS integration returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV1::api_aws_integration::AWSIntegrationAPI;
use datadog_api_client::datadogV1::api_aws_integration::UpdateAWSAccountOptionalParams;
use datadog_api_client::datadogV1::model::AWSAccount;
use std::collections::BTreeMap;

#[tokio::main]
async fn main() {
    let body = AWSAccount::new()
        .account_id("163662907100".to_string())
        .account_specific_namespace_rules(BTreeMap::from([("auto_scaling".to_string(), false)]))
        .cspm_resource_collection_enabled(false)
        .excluded_regions(vec!["us-east-1".to_string(), "us-west-2".to_string()])
        .extended_resource_collection_enabled(true)
        .filter_tags(vec!["$KEY:$VALUE".to_string()])
        .host_tags(vec!["$KEY:$VALUE".to_string()])
        .metrics_collection_enabled(true)
        .role_name("DatadogAWSIntegrationRole".to_string());
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api
        .update_aws_account(
            body,
            UpdateAWSAccountOptionalParams::default()
                .account_id("163662907100".to_string())
                .role_name("DatadogAWSIntegrationRole".to_string()),
        )
        .await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Update an AWS integration returns "OK" response
```
/**
 * Update an AWS integration returns "OK" response
 */

import { client, v1 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v1.AWSIntegrationApi(configuration);

const params: v1.AWSIntegrationApiUpdateAWSAccountRequest = {
  body: {
    accountId: "163662907100",
    accountSpecificNamespaceRules: {
      auto_scaling: false,
    },
    cspmResourceCollectionEnabled: false,
    excludedRegions: ["us-east-1", "us-west-2"],
    extendedResourceCollectionEnabled: true,
    filterTags: ["$KEY:$VALUE"],
    hostTags: ["$KEY:$VALUE"],
    metricsCollectionEnabled: true,
    roleName: "DatadogAWSIntegrationRole",
  },
  accountId: "163662907100",
  roleName: "DatadogAWSIntegrationRole",
};

apiInstance
  .updateAWSAccount(params)
  .then((data: any) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

PATCH https://api.ap1.datadoghq.com/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.ap2.datadoghq.com/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.datadoghq.eu/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.ddog-gov.com/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.datadoghq.com/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.us3.datadoghq.com/api/v2/integration/aws/accounts/{aws_account_config_id}https://api.us5.datadoghq.com/api/v2/integration/aws/accounts/{aws_account_config_id}
### Overview
Update an AWS Account Integration Config by config ID. This endpoint requires the `aws_configuration_edit` permission.
### Arguments
#### Path Parameters
Name
Type
Description
aws_account_config_id [_required_]
string
Unique Datadog ID of the AWS Account Integration Config. To get the config ID for an account, use the [List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations) endpoint and query by AWS Account ID.
### Request
#### Body Data (required)
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Expand All
Field
Type
Description
_required_]
object
AWS Account Update Request data.
_required_]
object
The AWS Account Integration Config to be updated.
account_tags
[string]
Tags to apply to all hosts and metrics reporting for this account. Defaults to `[]`.
<oneOf>
AWS Authentication config.
object
AWS Authentication config to integrate your account using an access key pair.
access_key_id [_required_]
string
AWS Access Key ID.
secret_access_key
string
AWS Secret Access Key.
object
AWS Authentication config to integrate your account using an IAM role.
external_id
string
AWS IAM External ID for associated role.
role_name [_required_]
string
AWS IAM Role name.
aws_account_id [_required_]
string
AWS Account ID.
aws_partition
enum
AWS partition your AWS account is scoped to. Defaults to `aws`. See [Partitions](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/partitions.html) in the AWS documentation for more information. Allowed enum values: `aws,aws-cn,aws-us-gov`
<oneOf>
AWS Regions to collect data from. Defaults to `include_all`.
object
Include all regions. Defaults to `true`.
include_all [_required_]
boolean
Include all regions.
object
Include only these regions.
include_only [_required_]
[string]
Include only these regions.
object
AWS Logs Collection config.
object
Log Autosubscription configuration for Datadog Forwarder Lambda functions. Automatically set up triggers for existing and new logs for some services, ensuring no logs from new resources are missed and saving time spent on manual configuration.
lambdas
[string]
List of Datadog Lambda Log Forwarder ARNs in your AWS account. Defaults to `[]`.
object
Log source configuration.
[object]
List of AWS log source tag filters. Defaults to `[]`.
source
string
The AWS log source to which the tag filters defined in `tags` are applied.
tags
[string]
The AWS resource tags to filter on for the log source specified by `source`.
sources
[string]
List of service IDs set to enable automatic log collection. Discover the list of available services with the [Get list of AWS log ready services](https://docs.datadoghq.com/api/latest/aws-logs-integration/#get-list-of-aws-log-ready-services) endpoint.
object
AWS Metrics Collection config.
automute_enabled
boolean
Enable EC2 automute for AWS metrics. Defaults to `true`.
collect_cloudwatch_alarms
boolean
Enable CloudWatch alarms collection. Defaults to `false`.
collect_custom_metrics
boolean
Enable custom metrics collection. Defaults to `false`.
enabled
boolean
Enable AWS metrics collection. Defaults to `true`.
<oneOf>
AWS Metrics namespace filters. Defaults to `exclude_only`.
object
Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`. `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
exclude_only [_required_]
[string]
Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`. `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
object
Include only these namespaces.
include_only [_required_]
[string]
Include only these namespaces.
[object]
AWS Metrics collection tag filters list. Defaults to `[]`.
namespace
string
The AWS service for which the tag filters defined in `tags` will be applied.
tags
[string]
The AWS resource tags to filter on for the service specified by `namespace`.
object
AWS Resources Collection config.
cloud_security_posture_management_collection
boolean
Enable Cloud Security Management to scan AWS resources for vulnerabilities, misconfigurations, identity risks, and compliance violations. Defaults to `false`. Requires `extended_collection` to be set to `true`.
extended_collection
boolean
Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Defaults to `true`. Required for `cloud_security_posture_management_collection`.
object
AWS Traces Collection config.
<oneOf>
AWS X-Ray services to collect traces from. Defaults to `include_only`.
object
Include all services.
include_all [_required_]
boolean
Include all services.
object
Include only these services. Defaults to `[]`.
include_only [_required_]
[string]
Include only these services.
id
string
Unique Datadog ID of the AWS Account Integration Config. To get the config ID for an account, use the [List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations) endpoint and query by AWS Account ID.
type [_required_]
enum
AWS Account resource type. Allowed enum values: `account`
default: `account`
```
{
  "data": {
    "attributes": {
      "account_tags": [
        "key:value"
      ],
      "auth_config": {
        "role_name": "DatadogIntegrationRole"
      },
      "aws_account_id": "123456789012",
      "aws_partition": "aws",
      "logs_config": {
        "lambda_forwarder": {
          "lambdas": [
            "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"
          ],
          "log_source_config": {
            "tag_filters": [
              {
                "source": "s3",
                "tags": [
                  "test:test"
                ]
              }
            ]
          },
          "sources": [
            "s3"
          ]
        }
      },
      "metrics_config": {
        "automute_enabled": true,
        "collect_cloudwatch_alarms": true,
        "collect_custom_metrics": true,
        "enabled": true,
        "tag_filters": [
          {
            "namespace": "AWS/EC2",
            "tags": [
              "key:value"
            ]
          }
        ]
      },
      "resources_config": {
        "cloud_security_posture_management_collection": false,
        "extended_collection": false
      },
      "traces_config": {}
    },
    "type": "account"
  }
}
```

Copy
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#UpdateAWSAccount-200-v2)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#UpdateAWSAccount-400-v2)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#UpdateAWSAccount-403-v2)
  * [404](https://docs.datadoghq.com/api/latest/aws-integration/#UpdateAWSAccount-404-v2)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#UpdateAWSAccount-429-v2)


AWS Account object
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


AWS Account response body.
Expand All
Field
Type
Description
_required_]
object
AWS Account response data.
object
AWS Account response attributes.
account_tags
[string]
Tags to apply to all hosts and metrics reporting for this account. Defaults to `[]`.
<oneOf>
AWS Authentication config.
object
AWS Authentication config to integrate your account using an access key pair.
access_key_id [_required_]
string
AWS Access Key ID.
secret_access_key
string
AWS Secret Access Key.
object
AWS Authentication config to integrate your account using an IAM role.
external_id
string
AWS IAM External ID for associated role.
role_name [_required_]
string
AWS IAM Role name.
aws_account_id [_required_]
string
AWS Account ID.
aws_partition
enum
AWS partition your AWS account is scoped to. Defaults to `aws`. See [Partitions](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/partitions.html) in the AWS documentation for more information. Allowed enum values: `aws,aws-cn,aws-us-gov`
<oneOf>
AWS Regions to collect data from. Defaults to `include_all`.
object
Include all regions. Defaults to `true`.
include_all [_required_]
boolean
Include all regions.
object
Include only these regions.
include_only [_required_]
[string]
Include only these regions.
created_at
date-time
Timestamp of when the account integration was created.
object
AWS Logs Collection config.
object
Log Autosubscription configuration for Datadog Forwarder Lambda functions. Automatically set up triggers for existing and new logs for some services, ensuring no logs from new resources are missed and saving time spent on manual configuration.
lambdas
[string]
List of Datadog Lambda Log Forwarder ARNs in your AWS account. Defaults to `[]`.
object
Log source configuration.
[object]
List of AWS log source tag filters. Defaults to `[]`.
source
string
The AWS log source to which the tag filters defined in `tags` are applied.
tags
[string]
The AWS resource tags to filter on for the log source specified by `source`.
sources
[string]
List of service IDs set to enable automatic log collection. Discover the list of available services with the [Get list of AWS log ready services](https://docs.datadoghq.com/api/latest/aws-logs-integration/#get-list-of-aws-log-ready-services) endpoint.
object
AWS Metrics Collection config.
automute_enabled
boolean
Enable EC2 automute for AWS metrics. Defaults to `true`.
collect_cloudwatch_alarms
boolean
Enable CloudWatch alarms collection. Defaults to `false`.
collect_custom_metrics
boolean
Enable custom metrics collection. Defaults to `false`.
enabled
boolean
Enable AWS metrics collection. Defaults to `true`.
<oneOf>
AWS Metrics namespace filters. Defaults to `exclude_only`.
object
Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`. `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
exclude_only [_required_]
[string]
Exclude only these namespaces from metrics collection. Defaults to `["AWS/SQS", "AWS/ElasticMapReduce", "AWS/Usage"]`. `AWS/SQS`, `AWS/ElasticMapReduce`, and `AWS/Usage` are excluded by default to reduce your AWS CloudWatch costs from `GetMetricData` API calls.
object
Include only these namespaces.
include_only [_required_]
[string]
Include only these namespaces.
[object]
AWS Metrics collection tag filters list. Defaults to `[]`.
namespace
string
The AWS service for which the tag filters defined in `tags` will be applied.
tags
[string]
The AWS resource tags to filter on for the service specified by `namespace`.
modified_at
date-time
Timestamp of when the account integration was updated.
object
AWS Resources Collection config.
cloud_security_posture_management_collection
boolean
Enable Cloud Security Management to scan AWS resources for vulnerabilities, misconfigurations, identity risks, and compliance violations. Defaults to `false`. Requires `extended_collection` to be set to `true`.
extended_collection
boolean
Whether Datadog collects additional attributes and configuration information about the resources in your AWS account. Defaults to `true`. Required for `cloud_security_posture_management_collection`.
object
AWS Traces Collection config.
<oneOf>
AWS X-Ray services to collect traces from. Defaults to `include_only`.
object
Include all services.
include_all [_required_]
boolean
Include all services.
object
Include only these services. Defaults to `[]`.
include_only [_required_]
[string]
Include only these services.
id [_required_]
string
Unique Datadog ID of the AWS Account Integration Config. To get the config ID for an account, use the [List all AWS integrations](https://docs.datadoghq.com/api/latest/aws-integration/#list-all-aws-integrations) endpoint and query by AWS Account ID.
type [_required_]
enum
AWS Account resource type. Allowed enum values: `account`
default: `account`
```
{
  "data": {
    "attributes": {
      "account_tags": [
        "env:prod"
      ],
      "auth_config": {
        "access_key_id": "AKIAIOSFODNN7EXAMPLE",
        "secret_access_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
      },
      "aws_account_id": "123456789012",
      "aws_partition": "aws",
      "aws_regions": {
        "include_all": true
      },
      "created_at": "2019-09-19T10:00:00.000Z",
      "logs_config": {
        "lambda_forwarder": {
          "lambdas": [
            "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"
          ],
          "log_source_config": {
            "tag_filters": [
              {
                "source": "s3",
                "tags": [
                  "env:prod"
                ]
              }
            ]
          },
          "sources": [
            "s3"
          ]
        }
      },
      "metrics_config": {
        "automute_enabled": true,
        "collect_cloudwatch_alarms": false,
        "collect_custom_metrics": false,
        "enabled": true,
        "namespace_filters": {
          "exclude_only": [
            "AWS/SQS",
            "AWS/ElasticMapReduce",
            "AWS/Usage"
          ]
        },
        "tag_filters": [
          {
            "namespace": "AWS/EC2",
            "tags": [
              "datadog:true"
            ]
          }
        ]
      },
      "modified_at": "2019-09-19T10:00:00.000Z",
      "resources_config": {
        "cloud_security_posture_management_collection": false,
        "extended_collection": true
      },
      "traces_config": {
        "xray_services": {
          "include_all": false
        }
      }
    },
    "id": "00000000-abcd-0001-0000-000000000000",
    "type": "account"
  }
}
```

Copy
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Forbidden
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Not Found
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Update an AWS integration returns "AWS Account object" response
Copy
```
                          # Path parameters  
export aws_account_config_id="CHANGE_ME"  
# Curl command  
curl -X PATCH "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/aws/accounts/${aws_account_config_id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "account_tags": [
        "key:value"
      ],
      "auth_config": {
        "role_name": "DatadogIntegrationRole"
      },
      "aws_account_id": "123456789012",
      "aws_partition": "aws",
      "logs_config": {
        "lambda_forwarder": {
          "lambdas": [
            "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"
          ],
          "log_source_config": {
            "tag_filters": [
              {
                "source": "s3",
                "tags": [
                  "test:test"
                ]
              }
            ]
          },
          "sources": [
            "s3"
          ]
        }
      },
      "metrics_config": {
        "automute_enabled": true,
        "collect_cloudwatch_alarms": true,
        "collect_custom_metrics": true,
        "enabled": true,
        "tag_filters": [
          {
            "namespace": "AWS/EC2",
            "tags": [
              "key:value"
            ]
          }
        ]
      },
      "resources_config": {
        "cloud_security_posture_management_collection": false,
        "extended_collection": false
      },
      "traces_config": {}
    },
    "type": "account"
  }
}
EOF  

                        
```

#####  Update an AWS integration returns "AWS Account object" response
```
// Update an AWS integration returns "AWS Account object" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)

func main() {
	// there is a valid "aws_account_v2" in the system
	AwsAccountV2DataID := os.Getenv("AWS_ACCOUNT_V2_DATA_ID")

	body := datadogV2.AWSAccountUpdateRequest{
		Data: datadogV2.AWSAccountUpdateRequestData{
			Attributes: datadogV2.AWSAccountUpdateRequestAttributes{
				AccountTags: *datadog.NewNullableList(&[]string{
					"key:value",
				}),
				AuthConfig: &datadogV2.AWSAuthConfig{
					AWSAuthConfigRole: &datadogV2.AWSAuthConfigRole{
						RoleName: "DatadogIntegrationRole",
					}},
				AwsAccountId: "123456789012",
				AwsPartition: datadogV2.AWSACCOUNTPARTITION_AWS.Ptr(),
				CcmConfig: &datadogV2.AWSCCMConfig{
					DataExportConfigs: []datadogV2.DataExportConfig{
						{
							BucketName:   datadog.PtrString("updated-bucket"),
							BucketRegion: datadog.PtrString("us-west-2"),
							ReportName:   datadog.PtrString("updated-report"),
							ReportPrefix: datadog.PtrString("cost-reports"),
							ReportType:   datadog.PtrString("CUR2.0"),
						},
					},
				},
				LogsConfig: &datadogV2.AWSLogsConfig{
					LambdaForwarder: &datadogV2.AWSLambdaForwarderConfig{
						Lambdas: []string{
							"arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder",
						},
						LogSourceConfig: &datadogV2.AWSLambdaForwarderConfigLogSourceConfig{
							TagFilters: []datadogV2.AWSLogSourceTagFilter{
								{
									Source: datadog.PtrString("s3"),
									Tags: *datadog.NewNullableList(&[]string{
										"test:test",
									}),
								},
							},
						},
						Sources: []string{
							"s3",
						},
					},
				},
				MetricsConfig: &datadogV2.AWSMetricsConfig{
					AutomuteEnabled:         datadog.PtrBool(true),
					CollectCloudwatchAlarms: datadog.PtrBool(true),
					CollectCustomMetrics:    datadog.PtrBool(true),
					Enabled:                 datadog.PtrBool(true),
					TagFilters: []datadogV2.AWSNamespaceTagFilter{
						{
							Namespace: datadog.PtrString("AWS/EC2"),
							Tags: *datadog.NewNullableList(&[]string{
								"key:value",
							}),
						},
					},
				},
				ResourcesConfig: &datadogV2.AWSResourcesConfig{
					CloudSecurityPostureManagementCollection: datadog.PtrBool(false),
					ExtendedCollection:                       datadog.PtrBool(false),
				},
				TracesConfig: &datadogV2.AWSTracesConfig{},
			},
			Type: datadogV2.AWSACCOUNTTYPE_ACCOUNT,
		},
	}
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV2.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.UpdateAWSAccount(ctx, AwsAccountV2DataID, body)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.UpdateAWSAccount`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.UpdateAWSAccount`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Update an AWS integration returns "AWS Account object" response
```
// Update an AWS integration returns "AWS Account object" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.AwsIntegrationApi;
import com.datadog.api.client.v2.model.AWSAccountPartition;
import com.datadog.api.client.v2.model.AWSAccountResponse;
import com.datadog.api.client.v2.model.AWSAccountType;
import com.datadog.api.client.v2.model.AWSAccountUpdateRequest;
import com.datadog.api.client.v2.model.AWSAccountUpdateRequestAttributes;
import com.datadog.api.client.v2.model.AWSAccountUpdateRequestData;
import com.datadog.api.client.v2.model.AWSAuthConfig;
import com.datadog.api.client.v2.model.AWSAuthConfigRole;
import com.datadog.api.client.v2.model.AWSCCMConfig;
import com.datadog.api.client.v2.model.AWSLambdaForwarderConfig;
import com.datadog.api.client.v2.model.AWSLambdaForwarderConfigLogSourceConfig;
import com.datadog.api.client.v2.model.AWSLogSourceTagFilter;
import com.datadog.api.client.v2.model.AWSLogsConfig;
import com.datadog.api.client.v2.model.AWSMetricsConfig;
import com.datadog.api.client.v2.model.AWSNamespaceTagFilter;
import com.datadog.api.client.v2.model.AWSResourcesConfig;
import com.datadog.api.client.v2.model.AWSTracesConfig;
import com.datadog.api.client.v2.model.DataExportConfig;
import java.util.Collections;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    // there is a valid "aws_account_v2" in the system
    String AWS_ACCOUNT_V2_DATA_ID = System.getenv("AWS_ACCOUNT_V2_DATA_ID");

    AWSAccountUpdateRequest body =
        new AWSAccountUpdateRequest()
            .data(
                new AWSAccountUpdateRequestData()
                    .attributes(
                        new AWSAccountUpdateRequestAttributes()
                            .accountTags(Collections.singletonList("key:value"))
                            .authConfig(
                                new AWSAuthConfig(
                                    new AWSAuthConfigRole().roleName("DatadogIntegrationRole")))
                            .awsAccountId("123456789012")
                            .awsPartition(AWSAccountPartition.AWS)
                            .ccmConfig(
                                new AWSCCMConfig()
                                    .dataExportConfigs(
                                        Collections.singletonList(
                                            new DataExportConfig()
                                                .bucketName("updated-bucket")
                                                .bucketRegion("us-west-2")
                                                .reportName("updated-report")
                                                .reportPrefix("cost-reports")
                                                .reportType("CUR2.0"))))
                            .logsConfig(
                                new AWSLogsConfig()
                                    .lambdaForwarder(
                                        new AWSLambdaForwarderConfig()
                                            .lambdas(
                                                Collections.singletonList(
                                                    "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder"))
                                            .logSourceConfig(
                                                new AWSLambdaForwarderConfigLogSourceConfig()
                                                    .tagFilters(
                                                        Collections.singletonList(
                                                            new AWSLogSourceTagFilter()
                                                                .source("s3")
                                                                .tags(
                                                                    Collections.singletonList(
                                                                        "test:test")))))
                                            .sources(Collections.singletonList("s3"))))
                            .metricsConfig(
                                new AWSMetricsConfig()
                                    .automuteEnabled(true)
                                    .collectCloudwatchAlarms(true)
                                    .collectCustomMetrics(true)
                                    .enabled(true)
                                    .tagFilters(
                                        Collections.singletonList(
                                            new AWSNamespaceTagFilter()
                                                .namespace("AWS/EC2")
                                                .tags(Collections.singletonList("key:value")))))
                            .resourcesConfig(
                                new AWSResourcesConfig()
                                    .cloudSecurityPostureManagementCollection(false)
                                    .extendedCollection(false))
                            .tracesConfig(new AWSTracesConfig()))
                    .type(AWSAccountType.ACCOUNT));

    try {
      AWSAccountResponse result = apiInstance.updateAWSAccount(AWS_ACCOUNT_V2_DATA_ID, body);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#updateAWSAccount");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Update an AWS integration returns "AWS Account object" response
```
"""
Update an AWS integration returns "AWS Account object" response
"""

from os import environ
from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.aws_integration_api import AWSIntegrationApi
from datadog_api_client.v2.model.aws_account_partition import AWSAccountPartition
from datadog_api_client.v2.model.aws_account_type import AWSAccountType
from datadog_api_client.v2.model.aws_account_update_request import AWSAccountUpdateRequest
from datadog_api_client.v2.model.aws_account_update_request_attributes import AWSAccountUpdateRequestAttributes
from datadog_api_client.v2.model.aws_account_update_request_data import AWSAccountUpdateRequestData
from datadog_api_client.v2.model.aws_auth_config_role import AWSAuthConfigRole
from datadog_api_client.v2.model.aws_lambda_forwarder_config import AWSLambdaForwarderConfig
from datadog_api_client.v2.model.aws_lambda_forwarder_config_log_source_config import (
    AWSLambdaForwarderConfigLogSourceConfig,
)
from datadog_api_client.v2.model.aws_log_source_tag_filter import AWSLogSourceTagFilter
from datadog_api_client.v2.model.aws_logs_config import AWSLogsConfig
from datadog_api_client.v2.model.aws_metrics_config import AWSMetricsConfig
from datadog_api_client.v2.model.aws_namespace_tag_filter import AWSNamespaceTagFilter
from datadog_api_client.v2.model.aws_resources_config import AWSResourcesConfig
from datadog_api_client.v2.model.aws_traces_config import AWSTracesConfig
from datadog_api_client.v2.model.awsccm_config import AWSCCMConfig
from datadog_api_client.v2.model.data_export_config import DataExportConfig

# there is a valid "aws_account_v2" in the system
AWS_ACCOUNT_V2_DATA_ID = environ["AWS_ACCOUNT_V2_DATA_ID"]

body = AWSAccountUpdateRequest(
    data=AWSAccountUpdateRequestData(
        attributes=AWSAccountUpdateRequestAttributes(
            account_tags=[
                "key:value",
            ],
            auth_config=AWSAuthConfigRole(
                role_name="DatadogIntegrationRole",
            ),
            aws_account_id="123456789012",
            aws_partition=AWSAccountPartition.AWS,
            ccm_config=AWSCCMConfig(
                data_export_configs=[
                    DataExportConfig(
                        bucket_name="updated-bucket",
                        bucket_region="us-west-2",
                        report_name="updated-report",
                        report_prefix="cost-reports",
                        report_type="CUR2.0",
                    ),
                ],
            ),
            logs_config=AWSLogsConfig(
                lambda_forwarder=AWSLambdaForwarderConfig(
                    lambdas=[
                        "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder",
                    ],
                    log_source_config=AWSLambdaForwarderConfigLogSourceConfig(
                        tag_filters=[
                            AWSLogSourceTagFilter(
                                source="s3",
                                tags=[
                                    "test:test",
                                ],
                            ),
                        ],
                    ),
                    sources=[
                        "s3",
                    ],
                ),
            ),
            metrics_config=AWSMetricsConfig(
                automute_enabled=True,
                collect_cloudwatch_alarms=True,
                collect_custom_metrics=True,
                enabled=True,
                tag_filters=[
                    AWSNamespaceTagFilter(
                        namespace="AWS/EC2",
                        tags=[
                            "key:value",
                        ],
                    ),
                ],
            ),
            resources_config=AWSResourcesConfig(
                cloud_security_posture_management_collection=False,
                extended_collection=False,
            ),
            traces_config=AWSTracesConfig(),
        ),
        type=AWSAccountType.ACCOUNT,
    ),
)

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.update_aws_account(aws_account_config_id=AWS_ACCOUNT_V2_DATA_ID, body=body)

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Update an AWS integration returns "AWS Account object" response
```
# Update an AWS integration returns "AWS Account object" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::AWSIntegrationAPI.new

# there is a valid "aws_account_v2" in the system
AWS_ACCOUNT_V2_DATA_ID = ENV["AWS_ACCOUNT_V2_DATA_ID"]

body = DatadogAPIClient::V2::AWSAccountUpdateRequest.new({
  data: DatadogAPIClient::V2::AWSAccountUpdateRequestData.new({
    attributes: DatadogAPIClient::V2::AWSAccountUpdateRequestAttributes.new({
      account_tags: [
        "key:value",
      ],
      auth_config: DatadogAPIClient::V2::AWSAuthConfigRole.new({
        role_name: "DatadogIntegrationRole",
      }),
      aws_account_id: "123456789012",
      aws_partition: DatadogAPIClient::V2::AWSAccountPartition::AWS,
      ccm_config: DatadogAPIClient::V2::AWSCCMConfig.new({
        data_export_configs: [
          DatadogAPIClient::V2::DataExportConfig.new({
            bucket_name: "updated-bucket",
            bucket_region: "us-west-2",
            report_name: "updated-report",
            report_prefix: "cost-reports",
            report_type: "CUR2.0",
          }),
        ],
      }),
      logs_config: DatadogAPIClient::V2::AWSLogsConfig.new({
        lambda_forwarder: DatadogAPIClient::V2::AWSLambdaForwarderConfig.new({
          lambdas: [
            "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder",
          ],
          log_source_config: DatadogAPIClient::V2::AWSLambdaForwarderConfigLogSourceConfig.new({
            tag_filters: [
              DatadogAPIClient::V2::AWSLogSourceTagFilter.new({
                source: "s3",
                tags: [
                  "test:test",
                ],
              }),
            ],
          }),
          sources: [
            "s3",
          ],
        }),
      }),
      metrics_config: DatadogAPIClient::V2::AWSMetricsConfig.new({
        automute_enabled: true,
        collect_cloudwatch_alarms: true,
        collect_custom_metrics: true,
        enabled: true,
        tag_filters: [
          DatadogAPIClient::V2::AWSNamespaceTagFilter.new({
            namespace: "AWS/EC2",
            tags: [
              "key:value",
            ],
          }),
        ],
      }),
      resources_config: DatadogAPIClient::V2::AWSResourcesConfig.new({
        cloud_security_posture_management_collection: false,
        extended_collection: false,
      }),
      traces_config: DatadogAPIClient::V2::AWSTracesConfig.new({}),
    }),
    type: DatadogAPIClient::V2::AWSAccountType::ACCOUNT,
  }),
})
p api_instance.update_aws_account(AWS_ACCOUNT_V2_DATA_ID, body)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Update an AWS integration returns "AWS Account object" response
```
// Update an AWS integration returns "AWS Account object" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_aws_integration::AWSIntegrationAPI;
use datadog_api_client::datadogV2::model::AWSAccountPartition;
use datadog_api_client::datadogV2::model::AWSAccountType;
use datadog_api_client::datadogV2::model::AWSAccountUpdateRequest;
use datadog_api_client::datadogV2::model::AWSAccountUpdateRequestAttributes;
use datadog_api_client::datadogV2::model::AWSAccountUpdateRequestData;
use datadog_api_client::datadogV2::model::AWSAuthConfig;
use datadog_api_client::datadogV2::model::AWSAuthConfigRole;
use datadog_api_client::datadogV2::model::AWSCCMConfig;
use datadog_api_client::datadogV2::model::AWSLambdaForwarderConfig;
use datadog_api_client::datadogV2::model::AWSLambdaForwarderConfigLogSourceConfig;
use datadog_api_client::datadogV2::model::AWSLogSourceTagFilter;
use datadog_api_client::datadogV2::model::AWSLogsConfig;
use datadog_api_client::datadogV2::model::AWSMetricsConfig;
use datadog_api_client::datadogV2::model::AWSNamespaceTagFilter;
use datadog_api_client::datadogV2::model::AWSResourcesConfig;
use datadog_api_client::datadogV2::model::AWSTracesConfig;
use datadog_api_client::datadogV2::model::DataExportConfig;

#[tokio::main]
async fn main() {
    // there is a valid "aws_account_v2" in the system
    let aws_account_v2_data_id = std::env::var("AWS_ACCOUNT_V2_DATA_ID").unwrap();
    let body =
        AWSAccountUpdateRequest::new(
            AWSAccountUpdateRequestData::new(
                AWSAccountUpdateRequestAttributes::new("123456789012".to_string())
                    .account_tags(Some(vec!["key:value".to_string()]))
                    .auth_config(
                        AWSAuthConfig::AWSAuthConfigRole(
                            Box::new(AWSAuthConfigRole::new("DatadogIntegrationRole".to_string())),
                        ),
                    )
                    .aws_partition(AWSAccountPartition::AWS)
                    .ccm_config(
                        AWSCCMConfig
                        ::new().data_export_configs(
                            vec![
                                DataExportConfig::new()
                                    .bucket_name("updated-bucket".to_string())
                                    .bucket_region("us-west-2".to_string())
                                    .report_name("updated-report".to_string())
                                    .report_prefix("cost-reports".to_string())
                                    .report_type("CUR2.0".to_string())
                            ],
                        ),
                    )
                    .logs_config(
                        AWSLogsConfig
                        ::new().lambda_forwarder(
                            AWSLambdaForwarderConfig::new()
                                .lambdas(
                                    vec![
                                        "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder".to_string()
                                    ],
                                )
                                .log_source_config(
                                    AWSLambdaForwarderConfigLogSourceConfig
                                    ::new().tag_filters(
                                        vec![
                                            AWSLogSourceTagFilter::new()
                                                .source("s3".to_string())
                                                .tags(Some(vec!["test:test".to_string()]))
                                        ],
                                    ),
                                )
                                .sources(vec!["s3".to_string()]),
                        ),
                    )
                    .metrics_config(
                        AWSMetricsConfig::new()
                            .automute_enabled(true)
                            .collect_cloudwatch_alarms(true)
                            .collect_custom_metrics(true)
                            .enabled(true)
                            .tag_filters(
                                vec![
                                    AWSNamespaceTagFilter::new()
                                        .namespace("AWS/EC2".to_string())
                                        .tags(Some(vec!["key:value".to_string()]))
                                ],
                            ),
                    )
                    .resources_config(
                        AWSResourcesConfig::new()
                            .cloud_security_posture_management_collection(false)
                            .extended_collection(false),
                    )
                    .traces_config(AWSTracesConfig::new()),
                AWSAccountType::ACCOUNT,
            ),
        );
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api
        .update_aws_account(aws_account_v2_data_id.clone(), body)
        .await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Update an AWS integration returns "AWS Account object" response
```
/**
 * Update an AWS integration returns "AWS Account object" response
 */

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AWSIntegrationApi(configuration);

// there is a valid "aws_account_v2" in the system
const AWS_ACCOUNT_V2_DATA_ID = process.env.AWS_ACCOUNT_V2_DATA_ID as string;

const params: v2.AWSIntegrationApiUpdateAWSAccountRequest = {
  body: {
    data: {
      attributes: {
        accountTags: ["key:value"],
        authConfig: {
          roleName: "DatadogIntegrationRole",
        },
        awsAccountId: "123456789012",
        awsPartition: "aws",
        ccmConfig: {
          dataExportConfigs: [
            {
              bucketName: "updated-bucket",
              bucketRegion: "us-west-2",
              reportName: "updated-report",
              reportPrefix: "cost-reports",
              reportType: "CUR2.0",
            },
          ],
        },
        logsConfig: {
          lambdaForwarder: {
            lambdas: [
              "arn:aws:lambda:us-east-1:123456789012:function:DatadogLambdaLogForwarder",
            ],
            logSourceConfig: {
              tagFilters: [
                {
                  source: "s3",
                  tags: ["test:test"],
                },
              ],
            },
            sources: ["s3"],
          },
        },
        metricsConfig: {
          automuteEnabled: true,
          collectCloudwatchAlarms: true,
          collectCustomMetrics: true,
          enabled: true,
          tagFilters: [
            {
              namespace: "AWS/EC2",
              tags: ["key:value"],
            },
          ],
        },
        resourcesConfig: {
          cloudSecurityPostureManagementCollection: false,
          extendedCollection: false,
        },
        tracesConfig: {},
      },
      type: "account",
    },
  },
  awsAccountConfigId: AWS_ACCOUNT_V2_DATA_ID,
};

apiInstance
  .updateAWSAccount(params)
  .then((data: v2.AWSAccountResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

* * *
## [Get all Amazon EventBridge sources](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-amazon-eventbridge-sources)
  * [v1](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-amazon-eventbridge-sources-v1)
  * [v2 (latest)](https://docs.datadoghq.com/api/latest/aws-integration/#get-all-amazon-eventbridge-sources-v2)


GET https://api.ap1.datadoghq.com/api/v1/integration/aws/event_bridgehttps://api.ap2.datadoghq.com/api/v1/integration/aws/event_bridgehttps://api.datadoghq.eu/api/v1/integration/aws/event_bridgehttps://api.ddog-gov.com/api/v1/integration/aws/event_bridgehttps://api.datadoghq.com/api/v1/integration/aws/event_bridgehttps://api.us3.datadoghq.com/api/v1/integration/aws/event_bridgehttps://api.us5.datadoghq.com/api/v1/integration/aws/event_bridge
### Overview
**This endpoint is deprecated - use the V2 endpoints instead.** Get all Amazon EventBridge sources.
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSEventBridgeSources-200-v1)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSEventBridgeSources-400-v1)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSEventBridgeSources-403-v1)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSEventBridgeSources-429-v1)


OK
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


An object describing the EventBridge configuration for multiple accounts.
Expand All
Field
Type
Description
[object]
List of accounts with their event sources.
accountId
string
Your AWS Account ID without dashes.
[object]
Array of AWS event sources associated with this account.
name
string
The event source name.
region
string
The event source's [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints).
tags
[string]
Array of tags (in the form `key:value`) which are added to all hosts and metrics reporting through the main AWS integration.
isInstalled
boolean
True if the EventBridge sub-integration is enabled for your organization.
```
{
  "accounts": [
    {
      "accountId": "123456789012",
      "eventHubs": [
        {
          "name": "string",
          "region": "string"
        }
      ],
      "tags": [
        "$KEY:$VALUE"
      ]
    }
  ],
  "isInstalled": false
}
```

Copy
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Authentication Error
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Get all Amazon EventBridge sources
Copy
```
                  # Curl command  
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v1/integration/aws/event_bridge" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"  

                
```

#####  Get all Amazon EventBridge sources
```
"""
Get all Amazon EventBridge sources returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v1.api.aws_integration_api import AWSIntegrationApi

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.list_aws_event_bridge_sources()

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Get all Amazon EventBridge sources
```
# Get all Amazon EventBridge sources returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::AWSIntegrationAPI.new
p api_instance.list_aws_event_bridge_sources()

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Get all Amazon EventBridge sources
```
// Get all Amazon EventBridge sources returns "OK" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV1"
)

func main() {
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV1.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.ListAWSEventBridgeSources(ctx)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.ListAWSEventBridgeSources`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.ListAWSEventBridgeSources`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Get all Amazon EventBridge sources
```
// Get all Amazon EventBridge sources returns "OK" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v1.api.AwsIntegrationApi;
import com.datadog.api.client.v1.model.AWSEventBridgeListResponse;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    try {
      AWSEventBridgeListResponse result = apiInstance.listAWSEventBridgeSources();
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#listAWSEventBridgeSources");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Get all Amazon EventBridge sources
```
// Get all Amazon EventBridge sources returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV1::api_aws_integration::AWSIntegrationAPI;

#[tokio::main]
async fn main() {
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.list_aws_event_bridge_sources().await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Get all Amazon EventBridge sources
```
/**
 * Get all Amazon EventBridge sources returns "OK" response
 */

import { client, v1 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v1.AWSIntegrationApi(configuration);

apiInstance
  .listAWSEventBridgeSources()
  .then((data: v1.AWSEventBridgeListResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

GET https://api.ap1.datadoghq.com/api/v2/integration/aws/event_bridgehttps://api.ap2.datadoghq.com/api/v2/integration/aws/event_bridgehttps://api.datadoghq.eu/api/v2/integration/aws/event_bridgehttps://api.ddog-gov.com/api/v2/integration/aws/event_bridgehttps://api.datadoghq.com/api/v2/integration/aws/event_bridgehttps://api.us3.datadoghq.com/api/v2/integration/aws/event_bridgehttps://api.us5.datadoghq.com/api/v2/integration/aws/event_bridge
### Overview
Get all Amazon EventBridge sources. This endpoint requires the `integrations_read` permission.
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSEventBridgeSources-200-v2)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSEventBridgeSources-400-v2)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSEventBridgeSources-403-v2)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#ListAWSEventBridgeSources-429-v2)


Amazon EventBridge sources list.
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Amazon EventBridge list response body.
Expand All
Field
Type
Description
_required_]
object
Amazon EventBridge list response data.
_required_]
object
An object describing the EventBridge configuration for multiple accounts.
[object]
List of accounts with their event sources.
account_id
string
Your AWS Account ID without dashes.
[object]
Array of AWS event sources associated with this account.
name
string
The event source name.
region
string
The event source's [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints).
tags
[string]
Array of tags (in the form `key:value`) which are added to all hosts and metrics reporting through the main AWS integration.
is_installed
boolean
True if the EventBridge integration is enabled for your organization.
id [_required_]
string
The ID of the Amazon EventBridge list response data.
default: `get_event_bridge`
type [_required_]
enum
Amazon EventBridge resource type. Allowed enum values: `event_bridge`
default: `event_bridge`
```
{
  "data": {
    "attributes": {
      "accounts": [
        {
          "account_id": "123456789012",
          "event_hubs": [
            {
              "name": "app-alerts-zyxw3210",
              "region": "us-east-1"
            }
          ],
          "tags": [
            "$KEY:$VALUE"
          ]
        }
      ],
      "is_installed": false
    },
    "id": "get_event_bridge",
    "type": "event_bridge"
  }
}
```

Copy
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Forbidden
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Get all Amazon EventBridge sources
Copy
```
                  # Curl command  
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/aws/event_bridge" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}"  

                
```

#####  Get all Amazon EventBridge sources
```
"""
Get all Amazon EventBridge sources returns "Amazon EventBridge sources list." response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.aws_integration_api import AWSIntegrationApi

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.list_aws_event_bridge_sources()

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Get all Amazon EventBridge sources
```
# Get all Amazon EventBridge sources returns "Amazon EventBridge sources list." response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::AWSIntegrationAPI.new
p api_instance.list_aws_event_bridge_sources()

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Get all Amazon EventBridge sources
```
// Get all Amazon EventBridge sources returns "Amazon EventBridge sources list." response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)

func main() {
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV2.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.ListAWSEventBridgeSources(ctx)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.ListAWSEventBridgeSources`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.ListAWSEventBridgeSources`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Get all Amazon EventBridge sources
```
// Get all Amazon EventBridge sources returns "Amazon EventBridge sources list." response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.AwsIntegrationApi;
import com.datadog.api.client.v2.model.AWSEventBridgeListResponse;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    try {
      AWSEventBridgeListResponse result = apiInstance.listAWSEventBridgeSources();
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#listAWSEventBridgeSources");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Get all Amazon EventBridge sources
```
// Get all Amazon EventBridge sources returns "Amazon EventBridge sources list."
// response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_aws_integration::AWSIntegrationAPI;

#[tokio::main]
async fn main() {
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.list_aws_event_bridge_sources().await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Get all Amazon EventBridge sources
```
/**
 * Get all Amazon EventBridge sources returns "Amazon EventBridge sources list." response
 */

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AWSIntegrationApi(configuration);

apiInstance
  .listAWSEventBridgeSources()
  .then((data: v2.AWSEventBridgeListResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

* * *
## [Create an Amazon EventBridge source](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-amazon-eventbridge-source)
  * [v1](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-amazon-eventbridge-source-v1)
  * [v2 (latest)](https://docs.datadoghq.com/api/latest/aws-integration/#create-an-amazon-eventbridge-source-v2)


POST https://api.ap1.datadoghq.com/api/v1/integration/aws/event_bridgehttps://api.ap2.datadoghq.com/api/v1/integration/aws/event_bridgehttps://api.datadoghq.eu/api/v1/integration/aws/event_bridgehttps://api.ddog-gov.com/api/v1/integration/aws/event_bridgehttps://api.datadoghq.com/api/v1/integration/aws/event_bridgehttps://api.us3.datadoghq.com/api/v1/integration/aws/event_bridgehttps://api.us5.datadoghq.com/api/v1/integration/aws/event_bridge
### Overview
**This endpoint is deprecated - use the V2 endpoints instead.** Create an Amazon EventBridge source. This endpoint requires the `manage_integrations` permission.
### Request
#### Body Data (required)
Create an Amazon EventBridge source for an AWS account with a given name and region.
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Expand All
Field
Type
Description
account_id
string
Your AWS Account ID without dashes.
create_event_bus
boolean
True if Datadog should create the event bus in addition to the event source. Requires the `events:CreateEventBus` permission.
event_generator_name
string
The given part of the event source name, which is then combined with an assigned suffix to form the full name.
region
string
The event source's [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints).
```
{
  "account_id": "123456789012",
  "create_event_bus": true,
  "event_generator_name": "app-alerts",
  "region": "us-east-1"
}
```

Copy
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSEventBridgeSource-200-v1)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSEventBridgeSource-400-v1)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSEventBridgeSource-403-v1)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSEventBridgeSource-429-v1)


OK
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


A created EventBridge source.
Expand All
Field
Type
Description
event_source_name
string
The event source name.
has_bus
boolean
True if the event bus was created in addition to the source.
region
string
The event source's [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints).
status
enum
The event source status "created". Allowed enum values: `created`
```
{
  "event_source_name": "app-alerts-zyxw3210",
  "has_bus": true,
  "region": "us-east-1",
  "status": "created"
}
```

Copy
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Authentication Error
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Create an Amazon EventBridge source
Copy
```
                  # Curl command  
curl -X POST "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v1/integration/aws/event_bridge" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{}
EOF  

                
```

#####  Create an Amazon EventBridge source
```
"""
Create an Amazon EventBridge source returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v1.api.aws_integration_api import AWSIntegrationApi
from datadog_api_client.v1.model.aws_event_bridge_create_request import AWSEventBridgeCreateRequest

body = AWSEventBridgeCreateRequest(
    account_id="123456789012",
    create_event_bus=True,
    event_generator_name="app-alerts",
    region="us-east-1",
)

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.create_aws_event_bridge_source(body=body)

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Create an Amazon EventBridge source
```
# Create an Amazon EventBridge source returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::AWSIntegrationAPI.new

body = DatadogAPIClient::V1::AWSEventBridgeCreateRequest.new({
  account_id: "123456789012",
  create_event_bus: true,
  event_generator_name: "app-alerts",
  region: "us-east-1",
})
p api_instance.create_aws_event_bridge_source(body)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Create an Amazon EventBridge source
```
// Create an Amazon EventBridge source returns "OK" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV1"
)

func main() {
	body := datadogV1.AWSEventBridgeCreateRequest{
		AccountId:          datadog.PtrString("123456789012"),
		CreateEventBus:     datadog.PtrBool(true),
		EventGeneratorName: datadog.PtrString("app-alerts"),
		Region:             datadog.PtrString("us-east-1"),
	}
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV1.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.CreateAWSEventBridgeSource(ctx, body)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.CreateAWSEventBridgeSource`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.CreateAWSEventBridgeSource`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Create an Amazon EventBridge source
```
// Create an Amazon EventBridge source returns "OK" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v1.api.AwsIntegrationApi;
import com.datadog.api.client.v1.model.AWSEventBridgeCreateRequest;
import com.datadog.api.client.v1.model.AWSEventBridgeCreateResponse;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    AWSEventBridgeCreateRequest body =
        new AWSEventBridgeCreateRequest()
            .accountId("123456789012")
            .createEventBus(true)
            .eventGeneratorName("app-alerts")
            .region("us-east-1");

    try {
      AWSEventBridgeCreateResponse result = apiInstance.createAWSEventBridgeSource(body);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#createAWSEventBridgeSource");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Create an Amazon EventBridge source
```
// Create an Amazon EventBridge source returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV1::api_aws_integration::AWSIntegrationAPI;
use datadog_api_client::datadogV1::model::AWSEventBridgeCreateRequest;

#[tokio::main]
async fn main() {
    let body = AWSEventBridgeCreateRequest::new()
        .account_id("123456789012".to_string())
        .create_event_bus(true)
        .event_generator_name("app-alerts".to_string())
        .region("us-east-1".to_string());
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.create_aws_event_bridge_source(body).await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Create an Amazon EventBridge source
```
/**
 * Create an Amazon EventBridge source returns "OK" response
 */

import { client, v1 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v1.AWSIntegrationApi(configuration);

const params: v1.AWSIntegrationApiCreateAWSEventBridgeSourceRequest = {
  body: {
    accountId: "123456789012",
    createEventBus: true,
    eventGeneratorName: "app-alerts",
    region: "us-east-1",
  },
};

apiInstance
  .createAWSEventBridgeSource(params)
  .then((data: v1.AWSEventBridgeCreateResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

POST https://api.ap1.datadoghq.com/api/v2/integration/aws/event_bridgehttps://api.ap2.datadoghq.com/api/v2/integration/aws/event_bridgehttps://api.datadoghq.eu/api/v2/integration/aws/event_bridgehttps://api.ddog-gov.com/api/v2/integration/aws/event_bridgehttps://api.datadoghq.com/api/v2/integration/aws/event_bridgehttps://api.us3.datadoghq.com/api/v2/integration/aws/event_bridgehttps://api.us5.datadoghq.com/api/v2/integration/aws/event_bridge
### Overview
Create an Amazon EventBridge source. This endpoint requires the `manage_integrations` permission.
### Request
#### Body Data (required)
Create an Amazon EventBridge source for an AWS account with a given name and region.
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Expand All
Field
Type
Description
_required_]
object
Amazon EventBridge create request data.
_required_]
object
The EventBridge source to be created.
account_id [_required_]
string
AWS Account ID.
create_event_bus
boolean
Set to true if Datadog should create the event bus in addition to the event source. Requires the `events:CreateEventBus` permission.
event_generator_name [_required_]
string
The given part of the event source name, which is then combined with an assigned suffix to form the full name.
region [_required_]
string
The event source's [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints).
type [_required_]
enum
Amazon EventBridge resource type. Allowed enum values: `event_bridge`
default: `event_bridge`
```
{
  "data": {
    "attributes": {
      "account_id": "123456789012",
      "create_event_bus": true,
      "event_generator_name": "app-alerts",
      "region": "us-east-1"
    },
    "type": "event_bridge"
  }
}
```

Copy
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSEventBridgeSource-200-v2)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSEventBridgeSource-400-v2)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSEventBridgeSource-403-v2)
  * [409](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSEventBridgeSource-409-v2)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#CreateAWSEventBridgeSource-429-v2)


Amazon EventBridge source created.
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Amazon EventBridge create response body.
Expand All
Field
Type
Description
_required_]
object
Amazon EventBridge create response data.
_required_]
object
A created EventBridge source.
event_source_name
string
The event source name.
has_bus
boolean
True if the event bus was created in addition to the source.
region
string
The event source's [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints).
status
enum
The event source status "created". Allowed enum values: `created`
id
string
The ID of the Amazon EventBridge create response data.
default: `create_event_bridge`
type [_required_]
enum
Amazon EventBridge resource type. Allowed enum values: `event_bridge`
default: `event_bridge`
```
{
  "data": {
    "attributes": {
      "event_source_name": "app-alerts-zyxw3210",
      "has_bus": true,
      "region": "us-east-1",
      "status": "created"
    },
    "id": "create_event_bridge",
    "type": "event_bridge"
  }
}
```

Copy
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Forbidden
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Conflict
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Create an Amazon EventBridge source
Copy
```
                  # Curl command  
curl -X POST "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/aws/event_bridge" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "account_id": "123456789012",
      "event_generator_name": "app-alerts",
      "region": "us-east-1"
    },
    "type": "event_bridge"
  }
}
EOF  

                
```

#####  Create an Amazon EventBridge source
```
"""
Create an Amazon EventBridge source returns "Amazon EventBridge source created." response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.aws_integration_api import AWSIntegrationApi
from datadog_api_client.v2.model.aws_event_bridge_create_request import AWSEventBridgeCreateRequest
from datadog_api_client.v2.model.aws_event_bridge_create_request_attributes import AWSEventBridgeCreateRequestAttributes
from datadog_api_client.v2.model.aws_event_bridge_create_request_data import AWSEventBridgeCreateRequestData
from datadog_api_client.v2.model.aws_event_bridge_type import AWSEventBridgeType

body = AWSEventBridgeCreateRequest(
    data=AWSEventBridgeCreateRequestData(
        attributes=AWSEventBridgeCreateRequestAttributes(
            account_id="123456789012",
            create_event_bus=True,
            event_generator_name="app-alerts",
            region="us-east-1",
        ),
        type=AWSEventBridgeType.EVENT_BRIDGE,
    ),
)

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.create_aws_event_bridge_source(body=body)

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Create an Amazon EventBridge source
```
# Create an Amazon EventBridge source returns "Amazon EventBridge source created." response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::AWSIntegrationAPI.new

body = DatadogAPIClient::V2::AWSEventBridgeCreateRequest.new({
  data: DatadogAPIClient::V2::AWSEventBridgeCreateRequestData.new({
    attributes: DatadogAPIClient::V2::AWSEventBridgeCreateRequestAttributes.new({
      account_id: "123456789012",
      create_event_bus: true,
      event_generator_name: "app-alerts",
      region: "us-east-1",
    }),
    type: DatadogAPIClient::V2::AWSEventBridgeType::EVENT_BRIDGE,
  }),
})
p api_instance.create_aws_event_bridge_source(body)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Create an Amazon EventBridge source
```
// Create an Amazon EventBridge source returns "Amazon EventBridge source created." response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)

func main() {
	body := datadogV2.AWSEventBridgeCreateRequest{
		Data: datadogV2.AWSEventBridgeCreateRequestData{
			Attributes: datadogV2.AWSEventBridgeCreateRequestAttributes{
				AccountId:          "123456789012",
				CreateEventBus:     datadog.PtrBool(true),
				EventGeneratorName: "app-alerts",
				Region:             "us-east-1",
			},
			Type: datadogV2.AWSEVENTBRIDGETYPE_EVENT_BRIDGE,
		},
	}
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV2.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.CreateAWSEventBridgeSource(ctx, body)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.CreateAWSEventBridgeSource`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.CreateAWSEventBridgeSource`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Create an Amazon EventBridge source
```
// Create an Amazon EventBridge source returns "Amazon EventBridge source created." response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.AwsIntegrationApi;
import com.datadog.api.client.v2.model.AWSEventBridgeCreateRequest;
import com.datadog.api.client.v2.model.AWSEventBridgeCreateRequestAttributes;
import com.datadog.api.client.v2.model.AWSEventBridgeCreateRequestData;
import com.datadog.api.client.v2.model.AWSEventBridgeCreateResponse;
import com.datadog.api.client.v2.model.AWSEventBridgeType;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    AWSEventBridgeCreateRequest body =
        new AWSEventBridgeCreateRequest()
            .data(
                new AWSEventBridgeCreateRequestData()
                    .attributes(
                        new AWSEventBridgeCreateRequestAttributes()
                            .accountId("123456789012")
                            .createEventBus(true)
                            .eventGeneratorName("app-alerts")
                            .region("us-east-1"))
                    .type(AWSEventBridgeType.EVENT_BRIDGE));

    try {
      AWSEventBridgeCreateResponse result = apiInstance.createAWSEventBridgeSource(body);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#createAWSEventBridgeSource");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Create an Amazon EventBridge source
```
// Create an Amazon EventBridge source returns "Amazon EventBridge source
// created." response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_aws_integration::AWSIntegrationAPI;
use datadog_api_client::datadogV2::model::AWSEventBridgeCreateRequest;
use datadog_api_client::datadogV2::model::AWSEventBridgeCreateRequestAttributes;
use datadog_api_client::datadogV2::model::AWSEventBridgeCreateRequestData;
use datadog_api_client::datadogV2::model::AWSEventBridgeType;

#[tokio::main]
async fn main() {
    let body = AWSEventBridgeCreateRequest::new(AWSEventBridgeCreateRequestData::new(
        AWSEventBridgeCreateRequestAttributes::new(
            "123456789012".to_string(),
            "app-alerts".to_string(),
            "us-east-1".to_string(),
        )
        .create_event_bus(true),
        AWSEventBridgeType::EVENT_BRIDGE,
    ));
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.create_aws_event_bridge_source(body).await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Create an Amazon EventBridge source
```
/**
 * Create an Amazon EventBridge source returns "Amazon EventBridge source created." response
 */

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AWSIntegrationApi(configuration);

const params: v2.AWSIntegrationApiCreateAWSEventBridgeSourceRequest = {
  body: {
    data: {
      attributes: {
        accountId: "123456789012",
        createEventBus: true,
        eventGeneratorName: "app-alerts",
        region: "us-east-1",
      },
      type: "event_bridge",
    },
  },
};

apiInstance
  .createAWSEventBridgeSource(params)
  .then((data: v2.AWSEventBridgeCreateResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

* * *
## [Delete an Amazon EventBridge source](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-amazon-eventbridge-source)
  * [v1](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-amazon-eventbridge-source-v1)
  * [v2 (latest)](https://docs.datadoghq.com/api/latest/aws-integration/#delete-an-amazon-eventbridge-source-v2)


DELETE https://api.ap1.datadoghq.com/api/v1/integration/aws/event_bridgehttps://api.ap2.datadoghq.com/api/v1/integration/aws/event_bridgehttps://api.datadoghq.eu/api/v1/integration/aws/event_bridgehttps://api.ddog-gov.com/api/v1/integration/aws/event_bridgehttps://api.datadoghq.com/api/v1/integration/aws/event_bridgehttps://api.us3.datadoghq.com/api/v1/integration/aws/event_bridgehttps://api.us5.datadoghq.com/api/v1/integration/aws/event_bridge
### Overview
**This endpoint is deprecated - use the V2 endpoints instead.** Delete an Amazon EventBridge source. This endpoint requires the `manage_integrations` permission.
### Request
#### Body Data (required)
Delete the Amazon EventBridge source with the given name, region, and associated AWS account.
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Expand All
Field
Type
Description
account_id
string
Your AWS Account ID without dashes.
event_generator_name
string
The event source name.
region
string
The event source's [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints).
```
{
  "account_id": "123456789012",
  "event_generator_name": "app-alerts-zyxw3210",
  "region": "us-east-1"
}
```

Copy
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSEventBridgeSource-200-v1)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSEventBridgeSource-400-v1)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSEventBridgeSource-403-v1)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSEventBridgeSource-429-v1)


OK
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


An indicator of the successful deletion of an EventBridge source.
Expand All
Field
Type
Description
status
enum
The event source status "empty". Allowed enum values: `empty`
```
{
  "status": "empty"
}
```

Copy
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Authentication Error
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Error response object.
Expand All
Field
Type
Description
errors [_required_]
[string]
Array of errors returned by the API.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Delete an Amazon EventBridge source
Copy
```
                  # Curl command  
curl -X DELETE "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v1/integration/aws/event_bridge" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{}
EOF  

                
```

#####  Delete an Amazon EventBridge source
```
"""
Delete an Amazon EventBridge source returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v1.api.aws_integration_api import AWSIntegrationApi
from datadog_api_client.v1.model.aws_event_bridge_delete_request import AWSEventBridgeDeleteRequest

body = AWSEventBridgeDeleteRequest(
    account_id="123456789012",
    event_generator_name="app-alerts-zyxw3210",
    region="us-east-1",
)

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.delete_aws_event_bridge_source(body=body)

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Delete an Amazon EventBridge source
```
# Delete an Amazon EventBridge source returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::AWSIntegrationAPI.new

body = DatadogAPIClient::V1::AWSEventBridgeDeleteRequest.new({
  account_id: "123456789012",
  event_generator_name: "app-alerts-zyxw3210",
  region: "us-east-1",
})
p api_instance.delete_aws_event_bridge_source(body)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Delete an Amazon EventBridge source
```
// Delete an Amazon EventBridge source returns "OK" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV1"
)

func main() {
	body := datadogV1.AWSEventBridgeDeleteRequest{
		AccountId:          datadog.PtrString("123456789012"),
		EventGeneratorName: datadog.PtrString("app-alerts-zyxw3210"),
		Region:             datadog.PtrString("us-east-1"),
	}
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV1.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.DeleteAWSEventBridgeSource(ctx, body)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.DeleteAWSEventBridgeSource`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.DeleteAWSEventBridgeSource`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Delete an Amazon EventBridge source
```
// Delete an Amazon EventBridge source returns "OK" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v1.api.AwsIntegrationApi;
import com.datadog.api.client.v1.model.AWSEventBridgeDeleteRequest;
import com.datadog.api.client.v1.model.AWSEventBridgeDeleteResponse;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    AWSEventBridgeDeleteRequest body =
        new AWSEventBridgeDeleteRequest()
            .accountId("123456789012")
            .eventGeneratorName("app-alerts-zyxw3210")
            .region("us-east-1");

    try {
      AWSEventBridgeDeleteResponse result = apiInstance.deleteAWSEventBridgeSource(body);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#deleteAWSEventBridgeSource");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Delete an Amazon EventBridge source
```
// Delete an Amazon EventBridge source returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV1::api_aws_integration::AWSIntegrationAPI;
use datadog_api_client::datadogV1::model::AWSEventBridgeDeleteRequest;

#[tokio::main]
async fn main() {
    let body = AWSEventBridgeDeleteRequest::new()
        .account_id("123456789012".to_string())
        .event_generator_name("app-alerts-zyxw3210".to_string())
        .region("us-east-1".to_string());
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.delete_aws_event_bridge_source(body).await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Delete an Amazon EventBridge source
```
/**
 * Delete an Amazon EventBridge source returns "OK" response
 */

import { client, v1 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v1.AWSIntegrationApi(configuration);

const params: v1.AWSIntegrationApiDeleteAWSEventBridgeSourceRequest = {
  body: {
    accountId: "123456789012",
    eventGeneratorName: "app-alerts-zyxw3210",
    region: "us-east-1",
  },
};

apiInstance
  .deleteAWSEventBridgeSource(params)
  .then((data: v1.AWSEventBridgeDeleteResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

DELETE https://api.ap1.datadoghq.com/api/v2/integration/aws/event_bridgehttps://api.ap2.datadoghq.com/api/v2/integration/aws/event_bridgehttps://api.datadoghq.eu/api/v2/integration/aws/event_bridgehttps://api.ddog-gov.com/api/v2/integration/aws/event_bridgehttps://api.datadoghq.com/api/v2/integration/aws/event_bridgehttps://api.us3.datadoghq.com/api/v2/integration/aws/event_bridgehttps://api.us5.datadoghq.com/api/v2/integration/aws/event_bridge
### Overview
Delete an Amazon EventBridge source. This endpoint requires the `manage_integrations` permission.
### Request
#### Body Data (required)
Delete the Amazon EventBridge source with the given name, region, and associated AWS account.
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Expand All
Field
Type
Description
_required_]
object
Amazon EventBridge delete request data.
_required_]
object
The EventBridge source to be deleted.
account_id [_required_]
string
AWS Account ID.
event_generator_name [_required_]
string
The event source name.
region [_required_]
string
The event source's [AWS region](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints).
type [_required_]
enum
Amazon EventBridge resource type. Allowed enum values: `event_bridge`
default: `event_bridge`
```
{
  "data": {
    "attributes": {
      "account_id": "123456789012",
      "event_generator_name": "app-alerts-zyxw3210",
      "region": "us-east-1"
    },
    "type": "event_bridge"
  }
}
```

Copy
### Response
  * [200](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSEventBridgeSource-200-v2)
  * [400](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSEventBridgeSource-400-v2)
  * [403](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSEventBridgeSource-403-v2)
  * [429](https://docs.datadoghq.com/api/latest/aws-integration/#DeleteAWSEventBridgeSource-429-v2)


Amazon EventBridge source deleted.
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


Amazon EventBridge delete response body.
Expand All
Field
Type
Description
_required_]
object
Amazon EventBridge delete response data.
_required_]
object
The EventBridge source delete response attributes.
status
enum
The event source status "empty". Allowed enum values: `empty`
id
string
The ID of the Amazon EventBridge list response data.
default: `delete_event_bridge`
type [_required_]
enum
Amazon EventBridge resource type. Allowed enum values: `event_bridge`
default: `event_bridge`
```
{
  "data": {
    "attributes": {
      "status": "empty"
    },
    "id": "delete_event_bridge",
    "type": "event_bridge"
  }
}
```

Copy
Bad Request
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Forbidden
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
Too many requests
  * [Model](https://docs.datadoghq.com/api/latest/aws-integration/)
  * [Example](https://docs.datadoghq.com/api/latest/aws-integration/)


API error response.
Expand All
Field
Type
Description
errors [_required_]
[string]
A list of errors.
```
{
  "errors": [
    "Bad Request"
  ]
}
```

Copy
### Code Example
  * [Curl](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=curl)
  * [Python](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=python)
  * [Ruby](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=ruby)
  * [Go](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=go)
  * [Java](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=java)
  * [Rust](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=rust)
  * [Typescript](https://docs.datadoghq.com/api/latest/aws-integration/?code-lang=typescript)


#####  Delete an Amazon EventBridge source
Copy
```
                  # Curl command  
curl -X DELETE "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/integration/aws/event_bridge" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" \
-d @- << EOF
{
  "data": {
    "attributes": {
      "account_id": "123456789012",
      "event_generator_name": "app-alerts-zyxw3210",
      "region": "us-east-1"
    },
    "type": "event_bridge"
  }
}
EOF  

                
```

#####  Delete an Amazon EventBridge source
```
"""
Delete an Amazon EventBridge source returns "Amazon EventBridge source deleted." response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.aws_integration_api import AWSIntegrationApi
from datadog_api_client.v2.model.aws_event_bridge_delete_request import AWSEventBridgeDeleteRequest
from datadog_api_client.v2.model.aws_event_bridge_delete_request_attributes import AWSEventBridgeDeleteRequestAttributes
from datadog_api_client.v2.model.aws_event_bridge_delete_request_data import AWSEventBridgeDeleteRequestData
from datadog_api_client.v2.model.aws_event_bridge_type import AWSEventBridgeType

body = AWSEventBridgeDeleteRequest(
    data=AWSEventBridgeDeleteRequestData(
        attributes=AWSEventBridgeDeleteRequestAttributes(
            account_id="123456789012",
            event_generator_name="app-alerts-zyxw3210",
            region="us-east-1",
        ),
        type=AWSEventBridgeType.EVENT_BRIDGE,
    ),
)

configuration = Configuration()
with ApiClient(configuration) as api_client:
    api_instance = AWSIntegrationApi(api_client)
    response = api_instance.delete_aws_event_bridge_source(body=body)

    print(response)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=python) and then save the example to `example.py` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"


```

#####  Delete an Amazon EventBridge source
```
# Delete an Amazon EventBridge source returns "Amazon EventBridge source deleted." response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::AWSIntegrationAPI.new

body = DatadogAPIClient::V2::AWSEventBridgeDeleteRequest.new({
  data: DatadogAPIClient::V2::AWSEventBridgeDeleteRequestData.new({
    attributes: DatadogAPIClient::V2::AWSEventBridgeDeleteRequestAttributes.new({
      account_id: "123456789012",
      event_generator_name: "app-alerts-zyxw3210",
      region: "us-east-1",
    }),
    type: DatadogAPIClient::V2::AWSEventBridgeType::EVENT_BRIDGE,
  }),
})
p api_instance.delete_aws_event_bridge_source(body)

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=ruby) and then save the example to `example.rb` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"


```

#####  Delete an Amazon EventBridge source
```
// Delete an Amazon EventBridge source returns "Amazon EventBridge source deleted." response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)

func main() {
	body := datadogV2.AWSEventBridgeDeleteRequest{
		Data: datadogV2.AWSEventBridgeDeleteRequestData{
			Attributes: datadogV2.AWSEventBridgeDeleteRequestAttributes{
				AccountId:          "123456789012",
				EventGeneratorName: "app-alerts-zyxw3210",
				Region:             "us-east-1",
			},
			Type: datadogV2.AWSEVENTBRIDGETYPE_EVENT_BRIDGE,
		},
	}
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV2.NewAWSIntegrationApi(apiClient)
	resp, r, err := api.DeleteAWSEventBridgeSource(ctx, body)

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `AWSIntegrationApi.DeleteAWSEventBridgeSource`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `AWSIntegrationApi.DeleteAWSEventBridgeSource`:\n%s\n", responseContent)
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=go) and then save the example to `main.go` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"


```

#####  Delete an Amazon EventBridge source
```
// Delete an Amazon EventBridge source returns "Amazon EventBridge source deleted." response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.AwsIntegrationApi;
import com.datadog.api.client.v2.model.AWSEventBridgeDeleteRequest;
import com.datadog.api.client.v2.model.AWSEventBridgeDeleteRequestAttributes;
import com.datadog.api.client.v2.model.AWSEventBridgeDeleteRequestData;
import com.datadog.api.client.v2.model.AWSEventBridgeDeleteResponse;
import com.datadog.api.client.v2.model.AWSEventBridgeType;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    AwsIntegrationApi apiInstance = new AwsIntegrationApi(defaultClient);

    AWSEventBridgeDeleteRequest body =
        new AWSEventBridgeDeleteRequest()
            .data(
                new AWSEventBridgeDeleteRequestData()
                    .attributes(
                        new AWSEventBridgeDeleteRequestAttributes()
                            .accountId("123456789012")
                            .eventGeneratorName("app-alerts-zyxw3210")
                            .region("us-east-1"))
                    .type(AWSEventBridgeType.EVENT_BRIDGE));

    try {
      AWSEventBridgeDeleteResponse result = apiInstance.deleteAWSEventBridgeSource(body);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling AwsIntegrationApi#deleteAWSEventBridgeSource");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=java) and then save the example to `Example.java` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"


```

#####  Delete an Amazon EventBridge source
```
// Delete an Amazon EventBridge source returns "Amazon EventBridge source
// deleted." response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_aws_integration::AWSIntegrationAPI;
use datadog_api_client::datadogV2::model::AWSEventBridgeDeleteRequest;
use datadog_api_client::datadogV2::model::AWSEventBridgeDeleteRequestAttributes;
use datadog_api_client::datadogV2::model::AWSEventBridgeDeleteRequestData;
use datadog_api_client::datadogV2::model::AWSEventBridgeType;

#[tokio::main]
async fn main() {
    let body = AWSEventBridgeDeleteRequest::new(AWSEventBridgeDeleteRequestData::new(
        AWSEventBridgeDeleteRequestAttributes::new(
            "123456789012".to_string(),
            "app-alerts-zyxw3210".to_string(),
            "us-east-1".to_string(),
        ),
        AWSEventBridgeType::EVENT_BRIDGE,
    ));
    let configuration = datadog::Configuration::new();
    let api = AWSIntegrationAPI::with_config(configuration);
    let resp = api.delete_aws_event_bridge_source(body).await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run


```

#####  Delete an Amazon EventBridge source
```
/**
 * Delete an Amazon EventBridge source returns "Amazon EventBridge source deleted." response
 */

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
const apiInstance = new v2.AWSIntegrationApi(configuration);

const params: v2.AWSIntegrationApiDeleteAWSEventBridgeSourceRequest = {
  body: {
    data: {
      attributes: {
        accountId: "123456789012",
        eventGeneratorName: "app-alerts-zyxw3210",
        region: "us-east-1",
      },
      type: "event_bridge",
    },
  },
};

apiInstance
  .deleteAWSEventBridgeSource(params)
  .then((data: v2.AWSEventBridgeDeleteResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));

```

Copy
#### Instructions
First [install the library and its dependencies](https://docs.datadoghq.com/api/latest/?code-lang=typescript) and then save the example to `example.ts` and run following commands:
```
    

DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comddog-gov.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"


```

* * *
## Can't find something?
Our friendly, knowledgeable solutions engineers are here to help!
[Contact Us](https://docs.datadoghq.com/help/)
[Free Trial](https://docs.datadoghq.com/api/latest/aws-integration/)
Download mobile app
[](https://apps.apple.com/app/datadog/id1391380318)[](https://play.google.com/store/apps/details?id=com.datadog.app)
Product
[Infrastructure Monitoring](https://www.datadoghq.com/product/infrastructure-monitoring/) [Network Monitoring](https://www.datadoghq.com/product/network-monitoring/) [Container Monitoring](https://www.datadoghq.com/product/container-monitoring/) [Serverless](https://www.datadoghq.com/product/serverless-monitoring/) [Cloud Cost Management](https://www.datadoghq.com/product/cloud-cost-management/) [Cloudcraft](https://www.datadoghq.com/product/cloudcraft/) [Kubernetes Autoscaling](https://www.datadoghq.com/product/kubernetes-autoscaling/) [Application Performance Monitoring](https://www.datadoghq.com/product/apm/) [Software Catalog](https://www.datadoghq.com/product/software-catalog/) [Universal Service Monitoring](https://www.datadoghq.com/product/universal-service-monitoring/) [Data Streams Monitoring](https://www.datadoghq.com/product/data-streams-monitoring/) [Jobs Monitoring](https://www.datadoghq.com/product/data-observability/jobs-monitoring/) [Quality Monitoring](https://www.datadoghq.com/product/data-observability/quality-monitoring/) [Database Monitoring](https://www.datadoghq.com/product/database-monitoring/) [Continuous Profiler](https://www.datadoghq.com/product/code-profiling/) [Dynamic Instrumentation](https://www.datadoghq.com/product/dynamic-instrumentation/) [Log Management](https://www.datadoghq.com/product/log-management/) [Sensitive Data Scanner](https://www.datadoghq.com/product/sensitive-data-scanner/) [Audit Trail](https://www.datadoghq.com/product/audit-trail/) [Observability Pipelines](https://www.datadoghq.com/product/observability-pipelines/) [Cloud Security](https://www.datadoghq.com/product/cloud-security/) [Cloud Security Posture Management](https://www.datadoghq.com/product/cloud-security/#posture-management) [Workload Protection](https://www.datadoghq.com/product/workload-protection/) [Cloud Infrastructure Entitlement Management](https://www.datadoghq.com/product/cloud-security/#entitlement-management) [Vulnerability Management](https://www.datadoghq.com/product/cloud-security/#vulnerability-management) [Compliance](https://www.datadoghq.com/product/cloud-security/#compliance) [App and API Protection](https://www.datadoghq.com/product/app-and-api-protection/) [Software Composition Analysis](https://www.datadoghq.com/product/software-composition-analysis/) [Code Security](https://www.datadoghq.com/product/code-security/) [Static Code Analysis (SAST)](https://www.datadoghq.com/product/sast/) [Runtime Code Analysis (IAST)](https://www.datadoghq.com/product/iast/) [IaC Security](https://www.datadoghq.com/product/iac-security) [Cloud SIEM](https://www.datadoghq.com/product/cloud-siem/) [Browser Real User Monitoring](https://www.datadoghq.com/product/real-user-monitoring/) [Mobile Real User Monitoring](https://www.datadoghq.com/product/real-user-monitoring/mobile-rum/) [Product Analytics](https://www.datadoghq.com/product/product-analytics/) [Session Replay](https://www.datadoghq.com/product/real-user-monitoring/session-replay/) [Synthetic Monitoring](https://www.datadoghq.com/product/synthetic-monitoring/) [Mobile App Testing](https://www.datadoghq.com/product/mobile-app-testing/)
[Continuous Testing](https://www.datadoghq.com/product/continuous-testing/) [Error Tracking](https://www.datadoghq.com/product/error-tracking/) [CloudPrem](https://www.datadoghq.com/product/cloudprem/) [Internal Developer Portal](https://www.datadoghq.com/product/internal-developer-portal/) [CI Visibility](https://www.datadoghq.com/product/ci-cd-monitoring/) [Test Optimization](https://www.datadoghq.com/product/test-optimization/) [Feature Flags](https://www.datadoghq.com/product/feature-flags/) [Code Coverage](https://www.datadoghq.com/product/code-coverage/) [Service Level Objectives](https://www.datadoghq.com/product/service-level-objectives/) [Incident Response](https://www.datadoghq.com/product/incident-response/) [Event Management](https://www.datadoghq.com/product/event-management/) [Case Management](https://www.datadoghq.com/product/case-management/) [Bits AI Agents](https://www.datadoghq.com/product/ai/bits-ai-agents/) [Bits AI SRE](https://www.datadoghq.com/product/ai/bits-ai-sre/) [Metrics](https://www.datadoghq.com/product/metrics/) [Watchdog](https://www.datadoghq.com/product/platform/watchdog/) [LLM Observability](https://www.datadoghq.com/product/llm-observability/) [AI Integrations](https://www.datadoghq.com/product/platform/integrations/#cat-aiml) [Workflow Automation](https://www.datadoghq.com/product/workflow-automation/) [App Builder](https://www.datadoghq.com/product/app-builder/) [CoScreen](https://www.datadoghq.com/product/coscreen/) [Teams](https://docs.datadoghq.com/account_management/teams/) [Dashboards](https://www.datadoghq.com/product/platform/dashboards/) [Notebooks](https://docs.datadoghq.com/notebooks/) [Mobile App](https://docs.datadoghq.com/service_management/mobile/?tab=ios) [Fleet Automation](https://www.datadoghq.com/product/fleet-automation/) [Access Control](https://docs.datadoghq.com/account_management/rbac/?tab=datadogapplication) [OpenTelemetry](https://www.datadoghq.com/solutions/opentelemetry/) [Alerts](https://www.datadoghq.com/product/platform/alerts/) [integrations](https://www.datadoghq.com/product/platform/integrations/) [IDE Plugins](https://www.datadoghq.com/product/platform/ides/) [API](https://docs.datadoghq.com/api/) [Marketplace](https://www.datadoghq.com/marketplacepartners/) [Security Labs Research](https://securitylabs.datadoghq.com/) [Open Source Projects](https://opensource.datadoghq.com/) [Storage Management](https://www.datadoghq.com/product/storage-management/) [DORA Metrics](https://www.datadoghq.com/product/platform/dora-metrics/) [Secret Scanning](https://www.datadoghq.com/product/secret-scanning/)
resources
[Pricing](https://www.datadoghq.com/pricing/) [Documentation](https://docs.datadoghq.com/) [Support](https://www.datadoghq.com/support/) [Services & Enablement](https://www.datadoghq.com/support-services/) [Product Preview Program](https://www.datadoghq.com/product-preview/) [Certification](https://www.datadoghq.com/certification/overview/)
[Open Source](https://opensource.datadoghq.com/) [Events and Webinars](https://www.datadoghq.com/events-webinars/) [Security](https://www.datadoghq.com/security/) [Privacy Center](https://www.datadoghq.com/privacy/) [Knowledge Center](https://www.datadoghq.com/knowledge-center/) [Learning Resources](https://www.datadoghq.com/learn/)
About
[Contact Us](https://www.datadoghq.com/about/contact/) [Partners](https://www.datadoghq.com/partner/network/) [Press](https://www.datadoghq.com/about/latest-news/press-releases/) [Leadership](https://www.datadoghq.com/about/leadership/) [Careers](https://careers.datadoghq.com/) [Legal](https://www.datadoghq.com/legal/)
[Investor Relations](https://investors.datadoghq.com/) [Analyst Reports](https://www.datadoghq.com/about/analyst/) [ESG Report](https://www.datadoghq.com/esg-report/) [Vendor Help](https://www.datadoghq.com/vendor-help/) [Trust Hub](https://www.datadoghq.com/trust/)
Blog
[The Monitor](https://www.datadoghq.com/blog/) [Engineering](https://www.datadoghq.com/blog/engineering/)
[AI](https://www.datadoghq.com/blog/ai/) [Security Labs](https://securitylabs.datadoghq.com/)
Icon/world Created with Sketch. English 
[English ](https://docs.datadoghq.com/?lang_pref=en)[Français ](https://docs.datadoghq.com/fr/?lang_pref=fr)[日本語 ](https://docs.datadoghq.com/ja/?lang_pref=ja)[한국어 ](https://docs.datadoghq.com/ko/?lang_pref=ko)[Español](https://docs.datadoghq.com/es/?lang_pref=es)
[](https://twitter.com/datadoghq)[](https://www.instagram.com/datadoghq/)[](https://www.youtube.com/user/DatadogHQ)[](https://www.LinkedIn.com/company/datadog/)
© Datadog 2026 [Terms](https://www.datadoghq.com/legal/terms/) | [Privacy](https://www.datadoghq.com/legal/privacy/) | [Your Privacy Choices ![](https://imgix.datadoghq.com/img/icons/privacyoptions.svg?w=24&dpr=2)](https://docs.datadoghq.com/api/latest/aws-integration/)
###### Request a personalized demo
×
*
First Name*
*
Last Name*
*
Business Email*
*
Company*
*
Job Title*
*
Phone Number
*
How are you currently monitoring your infrastructure and applications?
By submitting this form, you agree to the [Privacy Policy](https://www.datadoghq.com/legal/privacy/) and [Cookie Policy.](https://www.datadoghq.com/legal/cookies/)
Request a Demo
##### Get Started with Datadog
Feedback
## Was this page helpful?
Yes 🎉
No 👎
Next
![](https://survey-images.hotjar.com/surveys/logo/90f40352a7464c849f5ce82ccd0e758d)
![](https://t.co/1/i/adsct?bci=4&dv=UTC%26en-US%26Google%20Inc.%26Linux%20x86_64%26255%261080%26600%264%2624%261080%26600%260%26na&eci=3&event=%7B%7D&event_id=ad76ede1-9067-439a-bba8-fe899435a1d7&integration=gtm&p_id=Twitter&p_user_id=0&pl_id=fd0efff7-3328-4052-b3d2-94899557063f&pt=AWS%20Integration&tw_document_href=https%3A%2F%2Fdocs.datadoghq.com%2Fapi%2Flatest%2Faws-integration%2F&tw_iframe_status=0&txn_id=nui23&type=javascript&version=2.3.35)![](https://analytics.twitter.com/1/i/adsct?bci=4&dv=UTC%26en-US%26Google%20Inc.%26Linux%20x86_64%26255%261080%26600%264%2624%261080%26600%260%26na&eci=3&event=%7B%7D&event_id=ad76ede1-9067-439a-bba8-fe899435a1d7&integration=gtm&p_id=Twitter&p_user_id=0&pl_id=fd0efff7-3328-4052-b3d2-94899557063f&pt=AWS%20Integration&tw_document_href=https%3A%2F%2Fdocs.datadoghq.com%2Fapi%2Flatest%2Faws-integration%2F&tw_iframe_status=0&txn_id=nui23&type=javascript&version=2.3.35)![](https://id.rlcdn.com/464526.gif)
![](https://bat.bing.com/action/0?ti=4061438&Ver=2&mid=9d495fb7-59f7-4abe-9919-816160285ebd&bo=2&sid=cf19a0f0f0c011f0b2b3f98b999d922b&vid=cf1a34f0f0c011f0a3f8ad0d25701bd6&vids=1&msclkid=N&pi=918639831&lg=en-US&sw=1080&sh=600&sc=24&tl=AWS%20Integration&p=https%3A%2F%2Fdocs.datadoghq.com%2Fapi%2Flatest%2Faws-integration%2F&r=&lt=2990&evt=pageLoad&sv=2&asc=G&cdb=AQAS&rn=635577)