/AWS1/IF_ECR=>LISTPULLTIMEUPDATEEXCLUSIONS()¶
About ListPullTimeUpdateExclusions¶
Lists the IAM principals that are excluded from having their image pull times recorded.
Method Signature¶
METHODS /AWS1/IF_ECR~LISTPULLTIMEUPDATEEXCLUSIONS
IMPORTING
!IV_MAXRESULTS TYPE /AWS1/ECRMAXRESULTS OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/ECRNEXTTOKEN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ecrlstpulltimeupexc01
RAISING
/AWS1/CX_ECRINVALIDPARAMETEREX
/AWS1/CX_ECRLIMITEXCEEDEDEX
/AWS1/CX_ECRSERVEREXCEPTION
/AWS1/CX_ECRVALIDATIONEX
/AWS1/CX_ECRCLIENTEXC
/AWS1/CX_ECRSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_maxresults TYPE /AWS1/ECRMAXRESULTS /AWS1/ECRMAXRESULTS¶
The maximum number of pull time update exclusion results returned by
ListPullTimeUpdateExclusionsin paginated output. When this parameter is used,ListPullTimeUpdateExclusionsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListPullTimeUpdateExclusionsrequest with the returnednextTokenvalue. This value can be between 1 and 1000. If this parameter is not used, thenListPullTimeUpdateExclusionsreturns up to 100 results and anextTokenvalue, if applicable.
iv_nexttoken TYPE /AWS1/ECRNEXTTOKEN /AWS1/ECRNEXTTOKEN¶
The
nextTokenvalue returned from a previous paginatedListPullTimeUpdateExclusionsrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value isnullwhen there are no more results to return.This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ecrlstpulltimeupexc01 /AWS1/CL_ECRLSTPULLTIMEUPEXC01¶
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->listpulltimeupdateexclusions(
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.
LOOP AT lo_result->get_pulltimeupdateexclusions( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_principalarn = lo_row_1->get_value( ).
ENDIF.
ENDLOOP.
lv_nexttoken = lo_result->get_nexttoken( ).
ENDIF.
To list all pull time update exclusions¶
This example lists all IAM principals that are excluded from having their image pull timestamps recorded in the registry.
DATA(lo_result) = lo_client->listpulltimeupdateexclusions( ).
To list pull time update exclusions with pagination¶
This example lists pull time update exclusions with pagination, requesting a maximum of 2 results per page.
DATA(lo_result) = lo_client->listpulltimeupdateexclusions( iv_maxresults = 2 ) .