Skip to content

/AWS1/CL_GUR=>DESCRRECOMMENDATIONFEEDBACK()

About DescribeRecommendationFeedback

Describes the customer feedback for a CodeGuru Reviewer recommendation.

Method Signature

IMPORTING

Required arguments:

iv_codereviewarn TYPE /AWS1/GURARN /AWS1/GURARN

The Amazon Resource Name (ARN) of the CodeReview object.

iv_recommendationid TYPE /AWS1/GURRECOMMENDATIONID /AWS1/GURRECOMMENDATIONID

The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.

Optional arguments:

iv_userid TYPE /AWS1/GURUSERID /AWS1/GURUSERID

Optional parameter to describe the feedback for a given user. If this is not supplied, it defaults to the user making the request.

The UserId is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.

RETURNING

oo_output TYPE REF TO /aws1/cl_gurdscrecommendatio01 /AWS1/CL_GURDSCRECOMMENDATIO01

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_gur~descrrecommendationfeedback(
  iv_codereviewarn = |string|
  iv_recommendationid = |string|
  iv_userid = |string|
).

This is an example of reading all possible response values

lv_arn = lo_recommendationfeedback->get_codereviewarn( ).
lv_recommendationid = lo_recommendationfeedback->get_recommendationid( ).
LOOP AT lo_recommendationfeedback->get_reactions( ) into lo_row.
  lv_reaction = lo_row_1->get_value( ).
ENDLOOP.
lv_userid = lo_recommendationfeedback->get_userid( ).
lv_timestamp = lo_recommendationfeedback->get_createdtimestamp( ).
lv_timestamp = lo_recommendationfeedback->get_lastupdatedtimestamp( ).