@SdkInternalApi
    final PutEmailIdentityFeedbackAttributesResult executePutEmailIdentityFeedbackAttributes(
            PutEmailIdentityFeedbackAttributesRequest putEmailIdentityFeedbackAttributesRequest) {

        ExecutionContext executionContext = createExecutionContext(putEmailIdentityFeedbackAttributesRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<PutEmailIdentityFeedbackAttributesRequest> request = null;
        Response<PutEmailIdentityFeedbackAttributesResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new PutEmailIdentityFeedbackAttributesRequestProtocolMarshaller(protocolFactory).marshall(super
                        .beforeMarshalling(putEmailIdentityFeedbackAttributesRequest));
                // Binds the request metrics to the current request.
                request.setAWSRequestMetrics(awsRequestMetrics);
                request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
                request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
                request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
                request.addHandlerContext(HandlerContextKey.SERVICE_ID, "SESv2");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "PutEmailIdentityFeedbackAttributes");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

            } finally {
                awsRequestMetrics.endEvent(Field.RequestMarshallTime);
            }

            HttpResponseHandler<AmazonWebServiceResponse<PutEmailIdentityFeedbackAttributesResult>> responseHandler = protocolFactory.createResponseHandler(
                    new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
                    new PutEmailIdentityFeedbackAttributesResultJsonUnmarshaller());
            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Used to enable or disable feedback forwarding for an identity. This setting determines what happens when an
identity is used to send an email that results in a bounce or complaint event.
</p>
<p>
If the value is <code>true</code>, you receive email notifications when bounce or complaint events occur. These
notifications are sent to the address that you specified in the <code>Return-Path</code> header of the original
email.
</p>
<p>
You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for
receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an
email notification when these events occur (even if this setting is disabled).
</p>

@param putEmailIdentityFeedbackAttributesRequest
       A request to set the attributes that control how bounce and complaint events are processed.
@return Result of the PutEmailIdentityFeedbackAttributes operation returned by the service.
@throws NotFoundException
        The resource you attempted to access doesn't exist.
@throws TooManyRequestsException
        Too many requests have been made to the operation.
@throws BadRequestException
        The input you provided is invalid.
@sample AmazonSimpleEmailServiceV2.PutEmailIdentityFeedbackAttributes
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityFeedbackAttributes"
     target="_top">AWS API Documentation</a>
aws-java-sdk-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/AmazonSimpleEmailServiceV2Client.java