/AWS1/CL_ACS=>LISTCONNECTORS()
¶
About ListConnectors¶
Lists the connectors belonging to your Amazon Web Services account.
Method Signature¶
IMPORTING¶
Optional arguments:¶
iv_maxresults
TYPE /AWS1/ACSMAXRESULTS
/AWS1/ACSMAXRESULTS
¶
The maximum number of objects that you want Connector for SCEP to return for this request. If more objects are available, in the response, Connector for SCEP provides a
NextToken
value that you can use in a subsequent call to get the next batch of objects.
iv_nexttoken
TYPE /AWS1/ACSNEXTTOKEN
/AWS1/ACSNEXTTOKEN
¶
When you request a list of objects with a
MaxResults
setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Connector for SCEP returns aNextToken
value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_acslistconnectorsrsp
/AWS1/CL_ACSLISTCONNECTORSRSP
¶
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_acs~listconnectors(
iv_maxresults = 123
iv_nexttoken = |string|
).
This is an example of reading all possible response values
LOOP AT lo_result->get_connectors( ) into lo_row.
lv_connectorarn = lo_row_1->get_arn( ).
lv_certificateauthorityarn = lo_row_1->get_certificateauthorityarn( ).
lv_connectortype = lo_row_1->get_type( ).
lv_azureapplicationid = lo_intuneconfiguration->get_azureapplicationid( ).
lv_azuredomain = lo_intuneconfiguration->get_domain( ).
lv_string = lo_openidconfiguration->get_issuer( ).
lv_string = lo_openidconfiguration->get_subject( ).
lv_string = lo_openidconfiguration->get_audience( ).
lv_connectorstatus = lo_row_1->get_status( ).
lv_connectorstatusreason = lo_row_1->get_statusreason( ).
lv_string = lo_row_1->get_endpoint( ).
lv_timestamp = lo_row_1->get_createdat( ).
lv_timestamp = lo_row_1->get_updatedat( ).
ENDLOOP.
lv_nexttoken = lo_result->get_nexttoken( ).