Amazon CloudWatch Cloudwatch Metricsdestination API

The Cloudwatch Metricsdestination API from Amazon CloudWatch — 1 operation(s) for cloudwatch metricsdestination.

GitHub OpenAPI

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

DELETE /rummetrics/{AppMonitorName}/metricsdestination Stop sending RUM extended metrics to a destination · Delete Rum Metrics Destination #
Ask an LLM
“How do I stop RUM extended metrics going to a destination?”
“Can I remove an extended metrics destination for a RUM app monitor?”
Tell an agent destructive · confirm first
Delete the {destination} extended metrics destination from RUM app monitor {AppMonitorName}.
Stop sending extended metrics from {AppMonitorName} to destination {destination}.
GET /rummetrics/{AppMonitorName}/metricsdestination List RUM extended metrics destinations · List Rum Metrics Destinations #
Ask an LLM
“Which destinations are receiving extended metrics from my RUM app monitor?”
“Can I see where RUM extended metrics are being sent for one app monitor?”
Tell an agent
List the extended metrics destinations for RUM app monitor {AppMonitorName}.
Show where extended metrics from {AppMonitorName} are being sent.
POST /rummetrics/{AppMonitorName}/metricsdestination Send RUM extended metrics to a destination · Put Rum Metrics Destination #
Ask an LLM
“How do I send extended metrics from RUM to CloudWatch?”
“Can I send RUM extended metrics to a CloudWatch Evidently experiment?”
Tell an agent
Send extended metrics from RUM app monitor {AppMonitorName} to destination {Destination}.
Set up {Destination} as the extended metrics destination for {AppMonitorName}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-cloudwatch:amazon-cloudwatch-metricsdestination-api"
All apis
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.

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.

OpenAPI Specification

amazon-cloudwatch-metricsdestination-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon CloudWatch Metricsdestination API
  version: '2010-08-01'
  description: Generated from AWS's published Smithy model for Amazon CloudWatch. 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://rum.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /rummetrics/{AppMonitorName}/metricsdestination:
    delete:
      operationId: DeleteRumMetricsDestination
      summary: Delete Rum Metrics Destination
      description: Deletes a destination for CloudWatch RUM extended metrics, so that the specified app monitor stops sending
        extended metrics to that destination.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteRumMetricsDestinationResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RumAccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RumConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RumInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RumResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RumValidationException'
      parameters:
      - name: AppMonitorName
        in: path
        required: true
        schema:
          type: string
        description: The name of the app monitor that is sending metrics to the destination that you want to delete.
      - name: destination
        in: query
        required: true
        schema:
          type: string
        description: The type of destination to delete. Valid values are CloudWatch and Evidently.
      - name: destinationArn
        in: query
        schema:
          type: string
        description: This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this
          parameter. This parameter specifies the ARN of the Evidently experiment that corresponds to the destination to delete.
      tags:
      - Metricsdestination
    get:
      operationId: ListRumMetricsDestinations
      summary: List Rum Metrics Destinations
      description: Returns a list of destinations that you have created to receive RUM extended metrics, for the specified
        app monitor. For more information about extended metrics, see AddRumMetrics.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListRumMetricsDestinationsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RumAccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RumInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RumResourceNotFoundException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RumValidationException'
      parameters:
      - name: AppMonitorName
        in: path
        required: true
        schema:
          type: string
        description: The name of the app monitor associated with the destinations that you want to retrieve.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results to return in one operation. The default is 50. The maximum that you can
          specify is 100. To retrieve the remaining results, make another call with the returned NextToken value.
      - name: nextToken
        in: query
        schema:
          type: string
        description: Use the token returned by the previous operation to request the next page of results.
      tags:
      - Metricsdestination
    post:
      operationId: PutRumMetricsDestination
      summary: Put Rum Metrics Destination
      description: Creates or updates a destination to receive extended metrics from CloudWatch RUM. You can send extended
        metrics to CloudWatch or to a CloudWatch Evidently experiment. For more information about extended metrics, see BatchCreateRumMetricDefinitions.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutRumMetricsDestinationResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RumAccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RumConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RumInternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RumResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RumValidationException'
      parameters:
      - name: AppMonitorName
        in: path
        required: true
        schema:
          type: string
        description: The name of the CloudWatch RUM app monitor that will send the metrics.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Destination:
                  type: string
                  description: Defines the destination to send the metrics to. Valid values are CloudWatch and Evidently.
                    If you specify Evidently, you must also specify the ARN of the CloudWatchEvidently experiment that is
                    to be the destination and an IAM role that has permission to write to the experiment.
                DestinationArn:
                  type: string
                  description: Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the
                    Evidently experiment that will receive the extended metrics.
                IamRoleArn:
                  type: string
                  description: This parameter is required if Destination is Evidently. If Destination is CloudWatch, don't
                    use this parameter. This parameter specifies the ARN of an IAM role that RUM will assume to write to the
                    Evidently experiment that you are sending metrics to. This role must have permission to write to that
                    experiment. If you specify this parameter, you must be signed on to a role that has PassRole permissions
                    attached to it, to allow the role to be passed. The CloudWatchAmazonCloudWatchRUMFullAccess policy doesn't
                    include PassRole permissions.
              required:
              - Destination
      tags:
      - Metricsdestination
components:
  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: rum
  schemas:
    DeleteRumMetricsDestinationResponse:
      type: object
      properties: {}
    ListRumMetricsDestinationsResponse:
      type: object
      properties:
        Destinations:
          type: array
          items:
            $ref: '#/components/schemas/MetricDestinationSummary'
          description: The list of CloudWatch RUM extended metrics destinations associated with the app monitor that you specified.
        NextToken:
          type: string
          description: A token that you can use in a subsequent operation to retrieve the next set of results.
    MetricDestinationSummary:
      type: object
      properties:
        Destination:
          type: string
          description: Specifies whether the destination is CloudWatch or Evidently.
        DestinationArn:
          type: string
          description: If the destination is Evidently, this specifies the ARN of the Evidently experiment that receives the
            metrics.
        IamRoleArn:
          type: string
          description: This field appears only when the destination is Evidently. It specifies the ARN of the IAM role that
            is used to write to the Evidently experiment that receives the metrics.
    PutRumMetricsDestinationResponse:
      type: object
      properties: {}
    RumAccessDeniedException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    RumConflictException:
      type: object
      properties:
        message:
          type: string
        resourceName:
          type: string
          description: The name of the resource that is associated with the error.
        resourceType:
          type: string
          description: The type of the resource that is associated with the error.
      required:
      - message
      - resourceName
    RumInternalServerException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: The value of a parameter in the request caused an error.
      required:
      - message
    RumResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
        resourceName:
          type: string
          description: The name of the resource that is associated with the error.
        resourceType:
          type: string
          description: The type of the resource that is associated with the error.
      required:
      - message
      - resourceName
    RumValidationException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
        serviceCode:
          type: string
          description: The ID of the service that is associated with the error.
        quotaCode:
          type: string
          description: The ID of the service quota that was exceeded.
        retryAfterSeconds:
          type: integer
          description: The value of a parameter in the request caused an error.
      required:
      - message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/rum/service/2018-05-10/rum-2018-05-10.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)