/AWS1/IF_TAD=>UPDATERECOMMENDATIONLC()¶
About UpdateRecommendationLifecycle¶
Update the lifecyle of a Recommendation. This API only supports prioritized recommendations.
Method Signature¶
METHODS /AWS1/IF_TAD~UPDATERECOMMENDATIONLC
IMPORTING
!IV_LIFECYCLESTAGE TYPE /AWS1/TADUPRECOMMENDATIONLCS01 OPTIONAL
!IV_UPDATEREASON TYPE /AWS1/TADRECOMMENDATIONUPDRSN OPTIONAL
!IV_UPDATEREASONCODE TYPE /AWS1/TADUPRECOMMENDATIONLCS00 OPTIONAL
!IV_RECOMMENDATIONIDENTIFIER TYPE /AWS1/TADACCTRECOMMENDATIONID OPTIONAL
RAISING
/AWS1/CX_TADACCESSDENIEDEX
/AWS1/CX_TADCONFLICTEXCEPTION
/AWS1/CX_TADINTERNALSERVEREX
/AWS1/CX_TADRESOURCENOTFOUNDEX
/AWS1/CX_TADTHROTTLINGEX
/AWS1/CX_TADVALIDATIONEX
/AWS1/CX_TADCLIENTEXC
/AWS1/CX_TADSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_lifecyclestage TYPE /AWS1/TADUPRECOMMENDATIONLCS01 /AWS1/TADUPRECOMMENDATIONLCS01¶
The new lifecycle stage
iv_recommendationidentifier TYPE /AWS1/TADACCTRECOMMENDATIONID /AWS1/TADACCTRECOMMENDATIONID¶
The Recommendation identifier for AWS Trusted Advisor Priority recommendations
Optional arguments:¶
iv_updatereason TYPE /AWS1/TADRECOMMENDATIONUPDRSN /AWS1/TADRECOMMENDATIONUPDRSN¶
Reason for the lifecycle stage change
iv_updatereasoncode TYPE /AWS1/TADUPRECOMMENDATIONLCS00 /AWS1/TADUPRECOMMENDATIONLCS00¶
Reason code for the lifecycle state change
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->updaterecommendationlc(
iv_lifecyclestage = |string|
iv_recommendationidentifier = |string|
iv_updatereason = |string|
iv_updatereasoncode = |string|
).
Update the lifecycle stage of a Recommendation managed by AWS Trusted Advisor Priority¶
Update the lifecycle stage of a Recommendation managed by AWS Trusted Advisor Priority
lo_client->updaterecommendationlc(
iv_lifecyclestage = |resolved|
iv_recommendationidentifier = |arn:aws:trustedadvisor::000000000000:recommendation/861c9c6e-f169-405a-8b59-537a8caccd7a|
iv_updatereason = |Resolved the recommendation|
iv_updatereasoncode = |valid_business_case|
).