code: @Override
      public AssociateTagOptionWithResourceResult associateTagOptionWithResource(AssociateTagOptionWithResourceRequest request) {
          request = beforeClientExecution(request);
          return executeAssociateTagOptionWithResource(request);
      }
docs: <p>
  Associate the specified TagOption with the specified portfolio or product.
  </p>
  
  @param associateTagOptionWithResourceRequest
  @return Result of the AssociateTagOptionWithResource operation returned by the service.
  @throws TagOptionNotMigratedException
  An operation requiring TagOptions failed because the TagOptions migration process has not been performed
  for this account. Please use the AWS console to perform the migration process before retrying the
  operation.
  @throws ResourceNotFoundException
  The specified resource was not found.
  @throws InvalidParametersException
  One or more parameters provided to the operation are not valid.
  @throws LimitExceededException
  The current limits of the service would have been exceeded by this operation. Decrease your resource use
  or increase your service limits and retry the operation.
  @throws DuplicateResourceException
  The specified resource is a duplicate.
  @throws InvalidStateException
  An attempt was made to modify a resource that is in a state that is not valid. Check your resources to
  ensure that they are in valid states before retrying the operation.
  @sample AWSServiceCatalog.AssociateTagOptionWithResource
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateTagOptionWithResource"
  target="_top">AWS API Documentation</a>