def remove_role_from_instance_profile(InstanceProfileName=None, RoleName=None):
    """
    Removes the specified IAM role from the specified EC2 instance profile.
    For more information about IAM roles, go to Working with Roles . For more information about instance profiles, go to About Instance Profiles .
    See also: AWS API Documentation
    
    Examples
    The following command removes the role named Test-Role from the instance profile named ExampleInstanceProfile.
    Expected Output:
    
    :example: response = client.remove_role_from_instance_profile(
        InstanceProfileName='string',
        RoleName='string'
    )
    
    
    :type InstanceProfileName: string
    :param InstanceProfileName: [REQUIRED]
            The name of the instance profile to update.
            This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
            

    :type RoleName: string
    :param RoleName: [REQUIRED]
            The name of the role to remove.
            This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
            

    :return: response = client.remove_role_from_instance_profile(
        InstanceProfileName='ExampleInstanceProfile',
        RoleName='Test-Role',
    )
    
    print(response)
    
    
    """
    pass
