UpdateScraperRequest
Amazon Web ServicesContainersMonitoringObservabilityPrometheus
Properties
| Name | Type | Description |
|---|---|---|
| scraperId | string | The ID of the scraper to update. |
| alias | string | The new alias of the scraper. |
| scrapeConfiguration | object | |
| destination | object | |
| roleConfiguration | object | |
| clientToken | string | A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive. |
| exporters | array | The exporter configurations for the scraper. You can configure at most one Amazon OpenSearch Service domain. If you don't specify a value, the existing exporter configuration remains unchanged. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-managed-prometheus/json-schema/amazon-managed-prometheus-update-scraper-request-schema.json",
"title": "UpdateScraperRequest",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-managed-prometheus-scrapers-api-openapi.yml#/components/schemas/UpdateScraperRequest",
"type": "object",
"properties": {
"scraperId": {
"type": "string",
"description": "The ID of the scraper to update."
},
"alias": {
"type": "string",
"description": "The new alias of the scraper."
},
"scrapeConfiguration": {
"$ref": "#/$defs/ScrapeConfiguration"
},
"destination": {
"$ref": "#/$defs/Destination"
},
"roleConfiguration": {
"$ref": "#/$defs/RoleConfiguration"
},
"clientToken": {
"type": "string",
"description": "A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive."
},
"exporters": {
"type": "array",
"items": {
"$ref": "#/$defs/ExporterConfiguration"
},
"description": "The exporter configurations for the scraper. You can configure at most one Amazon OpenSearch Service domain. If you don't specify a value, the existing exporter configuration remains unchanged."
}
},
"required": [
"scraperId"
],
"$defs": {
"AmpConfiguration": {
"type": "object",
"properties": {
"workspaceArn": {
"type": "string",
"description": "ARN of the Amazon Managed Service for Prometheus workspace."
}
},
"required": [
"workspaceArn"
]
},
"CloudWatchConfiguration": {
"type": "object",
"properties": {
"datasetArn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) of the CloudWatch dataset. To use the default dataset, specify arn:aws:cloudwatch:<region>:<account-id>:dataset/default."
}
},
"required": [
"datasetArn"
]
},
"Destination": {
"type": "object",
"properties": {
"ampConfiguration": {
"$ref": "#/$defs/AmpConfiguration"
},
"cloudWatchConfiguration": {
"$ref": "#/$defs/CloudWatchConfiguration"
}
},
"description": "Exactly one member is set."
},
"ExporterConfiguration": {
"type": "object",
"properties": {
"openSearchConfiguration": {
"$ref": "#/$defs/OpenSearchExporterConfiguration"
}
},
"description": "Exactly one member is set."
},
"OpenSearchExporterConfiguration": {
"type": "object",
"properties": {
"domainArn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) of the Amazon OpenSearch Service domain."
}
},
"required": [
"domainArn"
]
},
"RoleConfiguration": {
"type": "object",
"properties": {
"sourceRoleArn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) of the role used in the source account to enable cross-account scraping. For information about the contents of this policy, see Cross-account setup."
},
"targetRoleArn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) of the role used in the target account to enable cross-account scraping. For information about the contents of this policy, see Cross-account setup."
}
}
},
"ScrapeConfiguration": {
"type": "object",
"properties": {
"configurationBlob": {
"type": "string",
"description": "The base 64 encoded scrape configuration file."
}
},
"description": "Exactly one member is set."
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-managed-prometheus-update-scraper-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.