@SdkInternalApi
    final AddTagsToResourceResult executeAddTagsToResource(AddTagsToResourceRequest addTagsToResourceRequest) {

        ExecutionContext executionContext = createExecutionContext(addTagsToResourceRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<AddTagsToResourceRequest> request = null;
        Response<AddTagsToResourceResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new AddTagsToResourceRequestMarshaller().marshall(super.beforeMarshalling(addTagsToResourceRequest));
                // 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, "RDS");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "AddTagsToResource");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

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

            StaxResponseHandler<AddTagsToResourceResult> responseHandler = new StaxResponseHandler<AddTagsToResourceResult>(
                    new AddTagsToResourceResultStaxUnmarshaller());

            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Adds metadata tags to an Amazon RDS resource. These tags can also be used with cost allocation reporting to track
cost associated with Amazon RDS resources, or used in a Condition statement in an IAM policy for Amazon RDS.
</p>
<p>
For an overview on tagging your relational database resources, see <a
href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html">Tagging Amazon RDS Resources</a>
or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html">Tagging Amazon Aurora
and Amazon RDS Resources</a>.
</p>

@param addTagsToResourceRequest
@return Result of the AddTagsToResource operation returned by the service.
@throws DBInstanceNotFoundException
        <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.
@throws DBClusterNotFoundException
        <code>DBClusterIdentifier</code> doesn't refer to an existing DB cluster.
@throws DBSnapshotNotFoundException
        <code>DBSnapshotIdentifier</code> doesn't refer to an existing DB snapshot.
@throws DBProxyNotFoundException
        The specified proxy name doesn't correspond to a proxy owned by your Amazon Web Services account in the
        specified Amazon Web Services Region.
@throws DBProxyTargetGroupNotFoundException
        The specified target group isn't available for a proxy owned by your Amazon Web Services account in the
        specified Amazon Web Services Region.
@throws BlueGreenDeploymentNotFoundException
        <code>BlueGreenDeploymentIdentifier</code> doesn't refer to an existing blue/green deployment.
@throws IntegrationNotFoundException
        The specified integration could not be found.
@throws TenantDatabaseNotFoundException
        The specified tenant database wasn't found in the DB instance.
@throws DBSnapshotTenantDatabaseNotFoundException
        The specified snapshot tenant database wasn't found.
@sample AmazonRDS.AddTagsToResource
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddTagsToResource" target="_top">AWS API
     Documentation</a>
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/AmazonRDSClient.java