Skip to content

/AWS1/CL_S3C=>LISTACCESSPOINTSFOROBJLAMBDA()

About ListAccessPointsForObjectLambda

This operation is not supported by directory buckets.

Returns some or all (up to 1,000) access points associated with the Object Lambda Access Point per call. If there are more access points than what can be returned in one call, the response will include a continuation token that you can use to list the additional access points.

The following actions are related to ListAccessPointsForObjectLambda:

Method Signature

IMPORTING

Required arguments:

iv_accountid TYPE /AWS1/S3CACCOUNTID /AWS1/S3CACCOUNTID

The account ID for the account that owns the specified Object Lambda Access Point.

Optional arguments:

iv_nexttoken TYPE /AWS1/S3CNONEMPTYMAXLENGTH1000 /AWS1/S3CNONEMPTYMAXLENGTH1000

If the list has more access points than can be returned in one call to this API, this field contains a continuation token that you can provide in subsequent calls to this API to retrieve additional access points.

iv_maxresults TYPE /AWS1/S3CMAXRESULTS /AWS1/S3CMAXRESULTS

The maximum number of access points that you want to include in the list. The response may contain fewer access points but will never contain more. If there are more than this number of access points, then the response will include a continuation token in the NextToken field that you can use to retrieve the next page of access points.

RETURNING

oo_output TYPE REF TO /aws1/cl_s3clstaccptsforobjl01 /AWS1/CL_S3CLSTACCPTSFOROBJL01

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_s3c~listaccesspointsforobjlambda(
  iv_accountid = |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.
  LOOP AT lo_result->get_objlambdaaccesspointlist( ) into lo_row.
    lo_row_1 = lo_row.
    IF lo_row_1 IS NOT INITIAL.
      lv_objectlambdaaccesspoint = lo_row_1->get_name( ).
      lv_objectlambdaaccesspoint_1 = lo_row_1->get_objlambdaaccesspointarn( ).
      lo_objectlambdaaccesspoint_2 = lo_row_1->get_alias( ).
      IF lo_objectlambdaaccesspoint_2 IS NOT INITIAL.
        lv_objectlambdaaccesspoint_3 = lo_objectlambdaaccesspoint_2->get_value( ).
        lv_objectlambdaaccesspoint_4 = lo_objectlambdaaccesspoint_2->get_status( ).
      ENDIF.
    ENDIF.
  ENDLOOP.
  lv_nonemptymaxlength1024st = lo_result->get_nexttoken( ).
ENDIF.