Skip to content

/AWS1/CL_BCDHEALTHSTATUS

Contains the health status information for a scheduled report, including the status code and any reasons for an unhealthy state.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_statuscode TYPE /AWS1/BCDHEALTHSTATUSCODE /AWS1/BCDHEALTHSTATUSCODE

The health status code. HEALTHY indicates the scheduled report is configured properly and has all required permissions to execute. UNHEALTHY indicates the scheduled report is unable to deliver the notification to the default Amazon EventBridge EventBus in your account and your action is needed. The reason for the unhealthy state is captured in the health status reasons.

Optional arguments:

iv_lastrefreshedat TYPE /AWS1/BCDGENERICTIMESTAMP /AWS1/BCDGENERICTIMESTAMP

The timestamp when the health status was last refreshed.

it_statusreasons TYPE /AWS1/CL_BCDSTATUSREASONLIST_W=>TT_STATUSREASONLIST TT_STATUSREASONLIST

The list of reasons for the current health status. Only present when the status is UNHEALTHY.


Queryable Attributes

statusCode

The health status code. HEALTHY indicates the scheduled report is configured properly and has all required permissions to execute. UNHEALTHY indicates the scheduled report is unable to deliver the notification to the default Amazon EventBridge EventBus in your account and your action is needed. The reason for the unhealthy state is captured in the health status reasons.

Accessible with the following methods

Method Description
GET_STATUSCODE() Getter for STATUSCODE, with configurable default
ASK_STATUSCODE() Getter for STATUSCODE w/ exceptions if field has no value
HAS_STATUSCODE() Determine if STATUSCODE has a value

lastRefreshedAt

The timestamp when the health status was last refreshed.

Accessible with the following methods

Method Description
GET_LASTREFRESHEDAT() Getter for LASTREFRESHEDAT, with configurable default
ASK_LASTREFRESHEDAT() Getter for LASTREFRESHEDAT w/ exceptions if field has no val
HAS_LASTREFRESHEDAT() Determine if LASTREFRESHEDAT has a value

statusReasons

The list of reasons for the current health status. Only present when the status is UNHEALTHY.

Accessible with the following methods

Method Description
GET_STATUSREASONS() Getter for STATUSREASONS, with configurable default
ASK_STATUSREASONS() Getter for STATUSREASONS w/ exceptions if field has no value
HAS_STATUSREASONS() Determine if STATUSREASONS has a value