List Scrapers
| prometheusservice_list_scrapers | R Documentation |
The ListScrapers operation lists all of the scrapers in your account¶
Description¶
The list_scrapers operation lists all of the scrapers in your account.
This includes scrapers being created or deleted. You can optionally
filter the returned list.
Usage¶
prometheusservice_list_scrapers(filters, nextToken, maxResults)
Arguments¶
filters |
(Optional) A list of key-value pairs to filter the list of
scrapers returned. Keys include Filters on the same key are To find all active scrapers that are sending metrics to a specific Amazon Managed Service for Prometheus workspace, you would use the ARN of the workspace in a query:
If this is included, it filters the results to only the scrapers that match the filter. |
nextToken |
(Optional) The token for the next set of items to return. (You received this token from a previous call.) |
maxResults |
Optional) The maximum number of scrapers to return in one
If you omit this parameter, the default of 100 is used. |
Value¶
A list with the following syntax:
list(
scrapers = list(
list(
alias = "string",
scraperId = "string",
arn = "string",
roleArn = "string",
status = list(
statusCode = "CREATING"|"UPDATING"|"ACTIVE"|"DELETING"|"CREATION_FAILED"|"UPDATE_FAILED"|"DELETION_FAILED"
),
createdAt = as.POSIXct(
"2015-01-01"
),
lastModifiedAt = as.POSIXct(
"2015-01-01"
),
tags = list(
"string"
),
statusReason = "string",
source = list(
eksConfiguration = list(
clusterArn = "string",
securityGroupIds = list(
"string"
),
subnetIds = list(
"string"
)
),
vpcConfiguration = list(
securityGroupIds = list(
"string"
),
subnetIds = list(
"string"
)
)
),
destination = list(
ampConfiguration = list(
workspaceArn = "string"
)
),
roleConfiguration = list(
sourceRoleArn = "string",
targetRoleArn = "string"
)
)
),
nextToken = "string"
)
Request syntax¶
svc$list_scrapers(
filters = list(
list(
"string"
)
),
nextToken = "string",
maxResults = 123
)