/AWS1/CL_AMPSCRAPERDESCRIPTION¶
The ScraperDescription structure contains the full details about one scraper in your account.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_scraperid TYPE /AWS1/AMPSCRAPERID /AWS1/AMPSCRAPERID¶
The ID of the scraper. For example,
s-example1-1234-abcd-5678-ef9012abcd34.
iv_arn TYPE /AWS1/AMPSCRAPERARN /AWS1/AMPSCRAPERARN¶
The Amazon Resource Name (ARN) of the scraper. For example,
arn:aws:aps:<region>:123456798012:scraper/s-example1-1234-abcd-5678-ef9012abcd34.
iv_rolearn TYPE /AWS1/AMPIAMROLEARN /AWS1/AMPIAMROLEARN¶
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to discover and collect metrics on your behalf.
For example,
arn:aws:iam::123456789012:role/service-role/AmazonGrafanaServiceRole-12example.
io_status TYPE REF TO /AWS1/CL_AMPSCRAPERSTATUS /AWS1/CL_AMPSCRAPERSTATUS¶
A structure that contains the current status of the scraper.
iv_createdat TYPE /AWS1/AMPTIMESTAMP /AWS1/AMPTIMESTAMP¶
The date and time that the scraper was created.
iv_lastmodifiedat TYPE /AWS1/AMPTIMESTAMP /AWS1/AMPTIMESTAMP¶
The date and time that the scraper was last modified.
io_scrapeconfiguration TYPE REF TO /AWS1/CL_AMPSCRAPECONF /AWS1/CL_AMPSCRAPECONF¶
The configuration in use by the scraper.
io_source TYPE REF TO /AWS1/CL_AMPSOURCE /AWS1/CL_AMPSOURCE¶
The Amazon EKS cluster from which the scraper collects metrics.
io_destination TYPE REF TO /AWS1/CL_AMPDESTINATION /AWS1/CL_AMPDESTINATION¶
The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
Optional arguments:¶
iv_alias TYPE /AWS1/AMPSCRAPERALIAS /AWS1/AMPSCRAPERALIAS¶
(Optional) A name associated with the scraper.
it_tags TYPE /AWS1/CL_AMPTAGMAP_W=>TT_TAGMAP TT_TAGMAP¶
(Optional) The list of tag keys and values associated with the scraper.
iv_statusreason TYPE /AWS1/AMPSTATUSREASON /AWS1/AMPSTATUSREASON¶
If there is a failure, the reason for the failure.
io_roleconfiguration TYPE REF TO /AWS1/CL_AMPROLECONFIGURATION /AWS1/CL_AMPROLECONFIGURATION¶
This structure displays information about the IAM roles used for cross-account scraping configuration.
Queryable Attributes¶
alias¶
(Optional) A name associated with the scraper.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ALIAS() |
Getter for ALIAS, with configurable default |
ASK_ALIAS() |
Getter for ALIAS w/ exceptions if field has no value |
HAS_ALIAS() |
Determine if ALIAS has a value |
scraperId¶
The ID of the scraper. For example,
s-example1-1234-abcd-5678-ef9012abcd34.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SCRAPERID() |
Getter for SCRAPERID, with configurable default |
ASK_SCRAPERID() |
Getter for SCRAPERID w/ exceptions if field has no value |
HAS_SCRAPERID() |
Determine if SCRAPERID has a value |
arn¶
The Amazon Resource Name (ARN) of the scraper. For example,
arn:aws:aps:<region>:123456798012:scraper/s-example1-1234-abcd-5678-ef9012abcd34.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ARN() |
Getter for ARN, with configurable default |
ASK_ARN() |
Getter for ARN w/ exceptions if field has no value |
HAS_ARN() |
Determine if ARN has a value |
roleArn¶
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to discover and collect metrics on your behalf.
For example,
arn:aws:iam::123456789012:role/service-role/AmazonGrafanaServiceRole-12example.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ROLEARN() |
Getter for ROLEARN, with configurable default |
ASK_ROLEARN() |
Getter for ROLEARN w/ exceptions if field has no value |
HAS_ROLEARN() |
Determine if ROLEARN has a value |
status¶
A structure that contains the current status of the scraper.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUS() |
Getter for STATUS |
createdAt¶
The date and time that the scraper was created.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CREATEDAT() |
Getter for CREATEDAT, with configurable default |
ASK_CREATEDAT() |
Getter for CREATEDAT w/ exceptions if field has no value |
HAS_CREATEDAT() |
Determine if CREATEDAT has a value |
lastModifiedAt¶
The date and time that the scraper was last modified.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LASTMODIFIEDAT() |
Getter for LASTMODIFIEDAT, with configurable default |
ASK_LASTMODIFIEDAT() |
Getter for LASTMODIFIEDAT w/ exceptions if field has no valu |
HAS_LASTMODIFIEDAT() |
Determine if LASTMODIFIEDAT has a value |
tags¶
(Optional) The list of tag keys and values associated with the scraper.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TAGS() |
Getter for TAGS, with configurable default |
ASK_TAGS() |
Getter for TAGS w/ exceptions if field has no value |
HAS_TAGS() |
Determine if TAGS has a value |
statusReason¶
If there is a failure, the reason for the failure.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUSREASON() |
Getter for STATUSREASON, with configurable default |
ASK_STATUSREASON() |
Getter for STATUSREASON w/ exceptions if field has no value |
HAS_STATUSREASON() |
Determine if STATUSREASON has a value |
scrapeConfiguration¶
The configuration in use by the scraper.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SCRAPECONFIGURATION() |
Getter for SCRAPECONFIGURATION |
source¶
The Amazon EKS cluster from which the scraper collects metrics.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SOURCE() |
Getter for SOURCE |
destination¶
The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DESTINATION() |
Getter for DESTINATION |
roleConfiguration¶
This structure displays information about the IAM roles used for cross-account scraping configuration.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ROLECONFIGURATION() |
Getter for ROLECONFIGURATION |