/AWS1/IF_QST=>SEARCHACTIONCONNECTORS()¶
About SearchActionConnectors¶
Searches for action connectors in the specified Amazon Web Services account using filters. You can search by connector name, type, or user permissions.
Method Signature¶
METHODS /AWS1/IF_QST~SEARCHACTIONCONNECTORS
IMPORTING
!IV_AWSACCOUNTID TYPE /AWS1/QSTAWSACCOUNTID OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/QSTSRCHACTCNCTORSREQMA00 OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/QSTSTRING00 OPTIONAL
!IT_FILTERS TYPE /AWS1/CL_QSTACTCNCTORSRCHFILT=>TT_ACTIONCNCTORSRCHFILTERLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_qstsrchactcnctorsrsp
RAISING
/AWS1/CX_QSTACCESSDENIEDEX
/AWS1/CX_QSTINVALIDNEXTTOKENEX
/AWS1/CX_QSTINVPARAMVALUEEX
/AWS1/CX_QSTTHROTTLINGEX
/AWS1/CX_QSTCLIENTEXC
/AWS1/CX_QSTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_awsaccountid TYPE /AWS1/QSTAWSACCOUNTID /AWS1/QSTAWSACCOUNTID¶
The Amazon Web Services account ID in which to search for action connectors.
it_filters TYPE /AWS1/CL_QSTACTCNCTORSRCHFILT=>TT_ACTIONCNCTORSRCHFILTERLIST TT_ACTIONCNCTORSRCHFILTERLIST¶
The search filters to apply. You can filter by connector name, type, or user permissions. Maximum of one filter is supported.
Optional arguments:¶
iv_maxresults TYPE /AWS1/QSTSRCHACTCNCTORSREQMA00 /AWS1/QSTSRCHACTCNCTORSREQMA00¶
The maximum number of action connectors to return in a single response. Valid range is 1 to 100.
iv_nexttoken TYPE /AWS1/QSTSTRING00 /AWS1/QSTSTRING00¶
A pagination token to retrieve the next set of results. Use the token returned from a previous call to continue searching.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_qstsrchactcnctorsrsp /AWS1/CL_QSTSRCHACTCNCTORSRSP¶
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->searchactionconnectors(
it_filters = VALUE /aws1/cl_qstactcnctorsrchfilt=>tt_actioncnctorsrchfilterlist(
(
new /aws1/cl_qstactcnctorsrchfilt(
iv_name = |string|
iv_operator = |string|
iv_value = |string|
)
)
)
iv_awsaccountid = |string|
iv_maxresults = 123
iv_nexttoken = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_string = lo_result->get_nexttoken( ).
lv_string = lo_result->get_requestid( ).
lv_statuscode = lo_result->get_status( ).
LOOP AT lo_result->get_actionconnectorsummaries( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_arn = lo_row_1->get_arn( ).
lv_shortrestrictiveresourc = lo_row_1->get_actionconnectorid( ).
lv_actionconnectortype = lo_row_1->get_type( ).
lv_actionconnectorname = lo_row_1->get_name( ).
lv_timestamp = lo_row_1->get_createdtime( ).
lv_timestamp = lo_row_1->get_lastupdatedtime( ).
lv_resourcestatus = lo_row_1->get_status( ).
lo_actionconnectorerror = lo_row_1->get_error( ).
IF lo_actionconnectorerror IS NOT INITIAL.
lv_string = lo_actionconnectorerror->get_message( ).
lv_actionconnectorerrortyp = lo_actionconnectorerror->get_type( ).
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.