v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
AWS Integration

Update AWS CCM config

Update the Cloud Cost Management config for an AWS Account Integration Config using Cost and Usage Report (CUR) 2.0 by config ID.

patch/api/v2/integration/aws/accounts/{aws_account_config_id}/ccm_config

Path parameters

aws_account_config_idstring required

Unique Datadog ID of the AWS Account Integration Config. To get the config ID for an account, use the List all AWS integrations endpoint and query by AWS Account ID.

Request body

Example request

{
  "data": {
    "attributes": {
      "ccm_config": {
        "data_export_configs": [
          {
            "bucket_name": "billing",
            "bucket_region": "us-east-1",
            "report_name": "cost-and-usage-report",
            "report_prefix": "reports",
            "report_type": "CUR2.0"
          }
        ]
      }
    },
    "type": "ccm_config"
  }
}

Response

AWS CCM Config object

Example response

{
  "data": {
    "attributes": {
      "data_export_configs": [
        {
          "bucket_name": "billing",
          "bucket_region": "us-east-1",
          "report_name": "cost-and-usage-report",
          "report_prefix": "reports",
          "report_type": "CUR2.0"
        }
      ]
    },
    "id": "00000000-abcd-0001-0000-000000000000",
    "type": "ccm_config"
  }
}