/AWS1/CL_GMZ=>DISASSOCIATEAPPLICATIONS()
¶
About DisassociateApplications¶
When you disassociate, or unlink, an application from a stream group, you can no longer stream this application by using that stream group's allocated compute resources. Any streams in process will continue until they terminate, which helps avoid interrupting an end-user's stream. Amazon GameLift Streams will not initiate new streams using this stream group. The disassociate action does not affect the stream capacity of a stream group.
You can only disassociate an application if it's not a default application of the stream group. Check DefaultApplicationIdentifier
by calling GetStreamGroup.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_identifier
TYPE /AWS1/GMZIDENTIFIER
/AWS1/GMZIDENTIFIER
¶
A stream group to disassociate these applications from.
This value is an Amazon Resource Name (ARN) or ID that uniquely identifies the stream group resource. Example ARN:
arn:aws:gameliftstreams:us-west-2:111122223333:streamgroup/sg-1AB2C3De4
. Example ID:sg-1AB2C3De4
.
it_applicationidentifiers
TYPE /AWS1/CL_GMZIDENTIFIERS_W=>TT_IDENTIFIERS
TT_IDENTIFIERS
¶
A set of applications that you want to disassociate from the stream group.
This value is a set of either Amazon Resource Names (ARN) or IDs that uniquely identify application resources. Example ARN:
arn:aws:gameliftstreams:us-west-2:111122223333:application/a-9ZY8X7Wv6
. Example ID:a-9ZY8X7Wv6
.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_gmzdisascapplicatio01
/AWS1/CL_GMZDISASCAPPLICATIO01
¶
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_gmz~disassociateapplications(
it_applicationidentifiers = VALUE /aws1/cl_gmzidentifiers_w=>tt_identifiers(
( new /aws1/cl_gmzidentifiers_w( |string| ) )
)
iv_identifier = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_arn = lo_result->get_arn( ).
LOOP AT lo_result->get_applicationarns( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_arn = lo_row_1->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.