Amazon CloudWatch · Schema

CreateExportTaskRequest

Amazon Web ServicesCloudWatchMonitoringObservabilityMetricsLogs

Properties

Name Type Description
taskName string The name of the export task.
logGroupName string The name of the log group.
logStreamNamePrefix string Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter is applied.
from integer The start time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp earlier than this time are not exported.
to integer The end time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported. You must specify a tim
destination string The name of S3 bucket for the exported log data. The bucket must be in the same Amazon Web Services Region.
destinationPrefix string The prefix used as the start of the key for every object exported. If you don't specify a value, the default is exportedlogs. The length of this parameter must comply with the S3 object key name lengt
View JSON Schema on GitHub

JSON Schema

amazon-cloudwatch-create-export-task-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudwatch/json-schema/amazon-cloudwatch-create-export-task-request-schema.json",
  "title": "CreateExportTaskRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudwatch-export-task-api-openapi.yml#/components/schemas/CreateExportTaskRequest",
  "type": "object",
  "properties": {
    "taskName": {
      "type": "string",
      "description": "The name of the export task."
    },
    "logGroupName": {
      "type": "string",
      "description": "The name of the log group."
    },
    "logStreamNamePrefix": {
      "type": "string",
      "description": "Export only log streams that match the provided prefix. If you don't specify a value, no prefix filter is applied."
    },
    "from": {
      "type": "integer",
      "description": "The start time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp earlier than this time are not exported."
    },
    "to": {
      "type": "integer",
      "description": "The end time of the range for the request, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported. You must specify a time that is not earlier than when this log group was created."
    },
    "destination": {
      "type": "string",
      "description": "The name of S3 bucket for the exported log data. The bucket must be in the same Amazon Web Services Region."
    },
    "destinationPrefix": {
      "type": "string",
      "description": "The prefix used as the start of the key for every object exported. If you don't specify a value, the default is exportedlogs. The length of this parameter must comply with the S3 object key name length limits. The object key name is a sequence of Unicode characters with UTF-8 encoding, and can be up to 1,024 bytes."
    }
  },
  "required": [
    "logGroupName",
    "from",
    "to",
    "destination"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-cloudwatch-create-export-task-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.