ScraperSummary - Amazon Managed Service for Prometheus
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

ScraperSummary

The ScraperSummary structure contains a summary of the details about one scraper in your account.

Contents

arn

The Amazon Resource Name (ARN) of the scraper.

Type: String

Required: Yes

createdAt

The date and time that the scraper was created.

Type: Timestamp

Required: Yes

destination

The destination where the scraper sends metrics. Valid destinations are Amazon Managed Service for Prometheus workspaces and CloudWatch datasets.

Type: Destination object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: Yes

lastModifiedAt

The date and time that the scraper was last modified.

Type: Timestamp

Required: Yes

roleArn

The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to discover and collect metrics on your behalf.

Type: String

Pattern: arn:aws[-a-z]*:iam::[0-9]{12}:role/.+

Required: Yes

scraperId

The ID of the scraper.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [0-9A-Za-z][-.0-9A-Z_a-z]*

Required: Yes

source

The Amazon EKS cluster from which the scraper collects metrics.

Type: Source object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: Yes

status

A structure that contains the current status of the scraper.

Type: ScraperStatus object

Required: Yes

alias

(Optional) A name associated with the scraper.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: [0-9A-Za-z][-.0-9A-Z_a-z]*

Required: No

exporters

The exporter configurations for the scraper, if configured. The list contains at most one configuration, for either an Amazon OpenSearch Service domain or an Amazon MSK cluster.

Type: Array of ExporterConfiguration objects

Array Members: Minimum number of 0 items. Maximum number of 1 item.

Required: No

roleConfiguration

This structure displays information about the IAM roles used for cross-account scraping configuration.

Type: RoleConfiguration object

Required: No

statusReason

If there is a failure, the reason for the failure.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Required: No

tags

(Optional) The list of tag keys and values associated with the scraper.

Type: String to string map

Map Entries: Minimum number of 0 items. Maximum number of 50 items.

Key Length Constraints: Minimum length of 1. Maximum length of 128.

Key Pattern: ([\p{L}\p{Z}\p{N}_.:/=+\-@]*)

Value Length Constraints: Minimum length of 0. Maximum length of 256.

Value Pattern: ([\p{L}\p{Z}\p{N}_.:/=+\-@]*)

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: