/AWS1/IF_EFS=>TAGRESOURCE()¶
About TagResource¶
Creates a tag for an EFS resource. You can create tags for EFS file systems and access points using this API operation.
This operation requires permissions for the elasticfilesystem:TagResource action.
Method Signature¶
METHODS /AWS1/IF_EFS~TAGRESOURCE
IMPORTING
!IV_RESOURCEID TYPE /AWS1/EFSRESOURCEID OPTIONAL
!IT_TAGS TYPE /AWS1/CL_EFSTAG=>TT_TAGS OPTIONAL
RAISING
/AWS1/CX_EFSACCPOINTNOTFOUND
/AWS1/CX_EFSBADREQUEST
/AWS1/CX_EFSFILESYSTEMNOTFOUND
/AWS1/CX_EFSINTERNALSERVERERR
/AWS1/CX_EFSCLIENTEXC
/AWS1/CX_EFSSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_resourceid TYPE /AWS1/EFSRESOURCEID /AWS1/EFSRESOURCEID¶
The ID specifying the EFS resource that you want to create a tag for.
it_tags TYPE /AWS1/CL_EFSTAG=>TT_TAGS TT_TAGS¶
An array of
Tagobjects to add. EachTagobject is a key-value pair.
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->tagresource(
it_tags = VALUE /aws1/cl_efstag=>tt_tags(
(
new /aws1/cl_efstag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_resourceid = |string|
).