code: @Override
      public ReplaceIamInstanceProfileAssociationResult replaceIamInstanceProfileAssociation(ReplaceIamInstanceProfileAssociationRequest request) {
          request = beforeClientExecution(request);
          return executeReplaceIamInstanceProfileAssociation(request);
      }
docs: <p>
  Replaces an IAM instance profile for the specified running instance. You can use this action to change the IAM
  instance profile that's associated with an instance without having to disassociate the existing IAM instance
  profile first.
  </p>
  <p>
  Use <a>DescribeIamInstanceProfileAssociations</a> to get the association ID.
  </p>
  
  @param replaceIamInstanceProfileAssociationRequest
  @return Result of the ReplaceIamInstanceProfileAssociation operation returned by the service.
  @sample AmazonEC2.ReplaceIamInstanceProfileAssociation
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceIamInstanceProfileAssociation"
  target="_top">AWS API Documentation</a>