/AWS1/IF_MDX=>TAGGLOBALRESOURCE()¶
About TagGlobalResource¶
Adds tags to a global resource in AWS Elemental MediaConnect. The API supports the following global resources: router inputs, router outputs and router network interfaces.
Method Signature¶
METHODS /AWS1/IF_MDX~TAGGLOBALRESOURCE
IMPORTING
!IV_RESOURCEARN TYPE /AWS1/MDXSTRING OPTIONAL
!IT_TAGS TYPE /AWS1/CL_MDX__MAPOFSTRING_W=>TT___MAPOFSTRING OPTIONAL
RAISING
/AWS1/CX_MDXBADREQUESTEX
/AWS1/CX_MDXINTERNALSERVERER00
/AWS1/CX_MDXNOTFOUNDEXCEPTION
/AWS1/CX_MDXCLIENTEXC
/AWS1/CX_MDXSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_resourcearn TYPE /AWS1/MDXSTRING /AWS1/MDXSTRING¶
The Amazon Resource Name (ARN) of the global resource to tag.
it_tags TYPE /AWS1/CL_MDX__MAPOFSTRING_W=>TT___MAPOFSTRING TT___MAPOFSTRING¶
A map of tag keys and values to add to the global resource.
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.
lo_client->tagglobalresource(
it_tags = VALUE /aws1/cl_mdx__mapofstring_w=>tt___mapofstring(
(
VALUE /aws1/cl_mdx__mapofstring_w=>ts___mapofstring_maprow(
key = |string|
value = new /aws1/cl_mdx__mapofstring_w( |string| )
)
)
)
iv_resourcearn = |string|
).