/AWS1/IF_GMZ=>LISTAPPLICATIONSHADERCACHES()¶
About ListApplicationShaderCaches¶
Lists the shader caches associated with an Amazon GameLift Streams application. Each shader cache entry includes its status, associated stream groups, and size in bytes.
Returns shader caches associated with the specified Amazon GameLift Streams application in all statuses.
Method Signature¶
METHODS /AWS1/IF_GMZ~LISTAPPLICATIONSHADERCACHES
IMPORTING
!IV_IDENTIFIER TYPE /AWS1/GMZIDENTIFIER OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_gmzlstappshdrcachsout
RAISING
/AWS1/CX_GMZACCESSDENIEDEX
/AWS1/CX_GMZINTERNALSERVEREX
/AWS1/CX_GMZRESOURCENOTFOUNDEX
/AWS1/CX_GMZTHROTTLINGEX
/AWS1/CX_GMZVALIDATIONEX
/AWS1/CX_GMZCLIENTEXC
/AWS1/CX_GMZSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_identifier TYPE /AWS1/GMZIDENTIFIER /AWS1/GMZIDENTIFIER¶
An Amazon Resource Name (ARN) or ID that uniquely identifies the application resource. Example ARN:
arn:aws:gameliftstreams:us-west-2:111122223333:application/a-9ZY8X7Wv6. Example ID:a-9ZY8X7Wv6.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_gmzlstappshdrcachsout /AWS1/CL_GMZLSTAPPSHDRCACHSOUT¶
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->listapplicationshadercaches( |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_items( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_identifier = lo_row_1->get_identifier( ).
lv_arn = lo_row_1->get_applicationarn( ).
lv_shadercachestatus = lo_row_1->get_status( ).
lv_timestamp = lo_row_1->get_lastupdatedat( ).
lv_long = lo_row_1->get_storagebytes( ).
LOOP AT lo_row_1->get_associatedstreamgroups( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_arn = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDLOOP.
ENDIF.