Skip to content

/AWS1/CL_R5A=>LISTROUTE53HEALTHCHECKS()

About ListRoute53HealthChecks

List the Amazon Route 53 health checks.

Method Signature

IMPORTING

Required arguments:

iv_arn TYPE /AWS1/R5APLANARN /AWS1/R5APLANARN

The Amazon Resource Name (ARN) of the Amazon Route 53 health check request.

Optional arguments:

iv_hostedzoneid TYPE /AWS1/R5AROUTE53HOSTEDZONEID /AWS1/R5AROUTE53HOSTEDZONEID

The hosted zone ID for the health checks.

iv_recordname TYPE /AWS1/R5AROUTE53RECORDNAME /AWS1/R5AROUTE53RECORDNAME

The record name for the health checks.

iv_maxresults TYPE /AWS1/R5AMAXRESULTS /AWS1/R5AMAXRESULTS

The number of objects that you want to return with this call.

iv_nexttoken TYPE /AWS1/R5ANEXTTOKEN /AWS1/R5ANEXTTOKEN

Specifies that you want to receive the next page of results. Valid only if you received a nextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's nextToken response to request the next page of results.

RETURNING

oo_output TYPE REF TO /aws1/cl_r5alistroute53hcrsp /AWS1/CL_R5ALISTROUTE53HCRSP

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

DATA(lo_result) = lo_client->/aws1/if_r5a~listroute53healthchecks(
  iv_arn = |string|
  iv_hostedzoneid = |string|
  iv_maxresults = 123
  iv_nexttoken = |string|
  iv_recordname = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  LOOP AT lo_result->get_healthchecks( ) into lo_row.
    lo_row_1 = lo_row.
    IF lo_row_1 IS NOT INITIAL.
      lv_route53hostedzoneid = lo_row_1->get_hostedzoneid( ).
      lv_route53recordname = lo_row_1->get_recordname( ).
      lv_route53healthcheckid = lo_row_1->get_healthcheckid( ).
      lv_region = lo_row_1->get_region( ).
    ENDIF.
  ENDLOOP.
  lv_nexttoken = lo_result->get_nexttoken( ).
ENDIF.