Skip to content

Describe Scraper

prometheusservice_describe_scraper R Documentation

The DescribeScraper operation displays information about an existing scraper

Description

The describe_scraper operation displays information about an existing scraper.

Usage

prometheusservice_describe_scraper(scraperId)

Arguments

scraperId

[required] The ID of the scraper to describe.

Value

A list with the following syntax:

list(
  scraper = list(
    alias = "string",
    arn = "string",
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    destination = list(
      ampConfiguration = list(
        workspaceArn = "string"
      )
    ),
    lastModifiedAt = as.POSIXct(
      "2015-01-01"
    ),
    roleArn = "string",
    scrapeConfiguration = list(
      configurationBlob = raw
    ),
    scraperId = "string",
    source = list(
      eksConfiguration = list(
        clusterArn = "string",
        securityGroupIds = list(
          "string"
        ),
        subnetIds = list(
          "string"
        )
      )
    ),
    status = list(
      statusCode = "CREATING"|"ACTIVE"|"DELETING"|"CREATION_FAILED"|"DELETION_FAILED"
    ),
    statusReason = "string",
    tags = list(
      "string"
    )
  )
)

Request syntax

svc$describe_scraper(
  scraperId = "string"
)