Amazon Managed Service for Prometheus Managed Prometheus Logging Configuration API
The Managed Prometheus Logging Configuration API from Amazon Managed Service for Prometheus — 1 operation(s) for managed prometheus logging configuration.
The Managed Prometheus Logging Configuration API from Amazon Managed Service for Prometheus — 1 operation(s) for managed prometheus logging configuration.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.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.curl "https://apis.io/api/v1/apis/amazon-managed-prometheus:amazon-managed-prometheus-logging-configuration-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
openapi: 3.2.0
info:
title: Amazon Prometheus Service Logging Configuration API
version: '2020-08-01'
description: Generated from AWS's published Smithy model for Amazon Prometheus Service. 3 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://aps.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
tags:
- name: Logging Configuration
paths:
/scrapers/{scraperId}/logging-configuration:
put:
operationId: UpdateScraperLoggingConfiguration
summary: Update Scraper Logging Configuration
description: Updates the logging configuration for a Amazon Managed Service for Prometheus scraper.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateScraperLoggingConfigurationResponse'
'403':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'409':
description: ConflictException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationException'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateScraperLoggingConfigurationRequest'
tags:
- Logging Configuration
get:
operationId: DescribeScraperLoggingConfiguration
summary: Describe Scraper Logging Configuration
description: Describes the logging configuration for a Amazon Managed Service for Prometheus scraper.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/DescribeScraperLoggingConfigurationResponse'
'403':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'500':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationException'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DescribeScraperLoggingConfigurationRequest'
tags:
- Logging Configuration
delete:
operationId: DeleteScraperLoggingConfiguration
summary: Delete Scraper Logging Configuration
description: Deletes the logging configuration for a Amazon Managed Service for Prometheus scraper.
responses:
'200':
description: Success
content:
application/json:
schema:
type: string
'403':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'409':
description: ConflictException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationException'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteScraperLoggingConfigurationRequest'
tags:
- Logging Configuration
components:
schemas:
ScraperLoggingConfigurationStatus:
type: object
properties:
statusCode:
type: string
description: The status code of the scraper logging configuration.
statusReason:
type: string
description: The reason for the current status of the scraper logging configuration.
required:
- statusCode
ValidationException:
type: object
properties:
message:
type: string
description: Description of the error.
reason:
type: string
description: Reason the request failed validation.
fieldList:
type: array
items:
$ref: '#/components/schemas/ValidationExceptionField'
description: The field that caused the error, if applicable.
required:
- message
- reason
DeleteScraperLoggingConfigurationRequest:
type: object
properties:
scraperId:
type: string
description: The ID of the scraper whose logging configuration will be deleted.
clientToken:
type: string
description: A unique, case-sensitive identifier that you provide to ensure the request is processed exactly once.
required:
- scraperId
InternalServerException:
type: object
properties:
message:
type: string
description: Description of the error.
retryAfterSeconds:
type: integer
description: Advice to clients on when the call can be safely retried.
required:
- message
UpdateScraperLoggingConfigurationResponse:
type: object
properties:
status:
$ref: '#/components/schemas/ScraperLoggingConfigurationStatus'
required:
- status
ComponentConfig:
type: object
properties:
options:
type: object
additionalProperties:
type: string
description: Configuration options for the scraper component.
ValidationExceptionField:
type: object
properties:
name:
type: string
description: The name of the field that caused an exception.
message:
type: string
description: A message describing why the field caused an exception.
required:
- name
- message
DescribeScraperLoggingConfigurationRequest:
type: object
properties:
scraperId:
type: string
description: The ID of the scraper whose logging configuration will be described.
required:
- scraperId
ConflictException:
type: object
properties:
message:
type: string
description: Description of the error.
resourceId:
type: string
description: Identifier of the resource affected.
resourceType:
type: string
description: Type of the resource affected.
required:
- message
- resourceId
- resourceType
AccessDeniedException:
type: object
properties:
message:
type: string
description: Description of the error.
required:
- message
ScraperLoggingDestination:
type: object
properties:
cloudWatchLogs:
$ref: '#/components/schemas/CloudWatchLogDestination'
description: Exactly one member is set.
CloudWatchLogDestination:
type: object
properties:
logGroupArn:
type: string
description: The ARN of the CloudWatch log group to which the vended log data will be published. This log group must exist prior to calling this operation.
required:
- logGroupArn
ResourceNotFoundException:
type: object
properties:
message:
type: string
description: Description of the error.
resourceId:
type: string
description: Identifier of the resource affected.
resourceType:
type: string
description: Type of the resource affected.
required:
- message
- resourceId
- resourceType
DescribeScraperLoggingConfigurationResponse:
type: object
properties:
status:
$ref: '#/components/schemas/ScraperLoggingConfigurationStatus'
scraperId:
type: string
description: The ID of the scraper.
loggingDestination:
$ref: '#/components/schemas/ScraperLoggingDestination'
scraperComponents:
type: array
items:
$ref: '#/components/schemas/ScraperComponent'
description: The list of scraper components configured for logging.
modifiedAt:
type: string
description: The date and time when the logging configuration was last modified.
required:
- status
- scraperId
- loggingDestination
- scraperComponents
- modifiedAt
UpdateScraperLoggingConfigurationRequest:
type: object
properties:
scraperId:
type: string
description: The ID of the scraper whose logging configuration will be updated.
loggingDestination:
$ref: '#/components/schemas/ScraperLoggingDestination'
scraperComponents:
type: array
items:
$ref: '#/components/schemas/ScraperComponent'
description: The list of scraper components to configure for logging.
required:
- scraperId
- loggingDestination
ScraperComponent:
type: object
properties:
type:
type: string
description: The type of the scraper component.
config:
$ref: '#/components/schemas/ComponentConfig'
required:
- type
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: aps
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/amp/service/2020-08-01/amp-2020-08-01.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)