@Override
    public AssociateIamInstanceProfileResult associateIamInstanceProfile(AssociateIamInstanceProfileRequest request) {
        request = beforeClientExecution(request);
        return executeAssociateIamInstanceProfile(request);
    }
<p>
Associates an IAM instance profile with a running or stopped instance. You cannot associate more than one IAM
instance profile with an instance.
</p>

@param associateIamInstanceProfileRequest
@return Result of the AssociateIamInstanceProfile operation returned by the service.
@sample AmazonEC2.AssociateIamInstanceProfile
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateIamInstanceProfile"
     target="_top">AWS API Documentation</a>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java